Error like this:
C:/ARM/ugfx/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c: In function 'gdisp_lld_control':
C:/ARM/ugfx/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c:251:6: error: too few arguments to function 'gdisp_lld_init'
gdisp_lld_init();
^
C:/ARM/ugfx/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c:67:16: note: declared here
LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
^
C:/ARM/ugfx/tools/gmake_scripts/compiler_gcc.mk:242: recipe for target '.build/obj/GFXLIB/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.o' failed
cs-make.EXE: *** [.build/obj/GFXLIB/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.o] Error 1
Patch:
diff --git a/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c b/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c
index bd637f0..0f8b6c4 100644
--- a/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c
+++ b/drivers/gdisp/ILI9481/gdisp_lld_ILI9481.c
@@ -248,7 +248,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
write_reg(g, 0x0010, 0x0000); /* leave sleep mode */
release_bus(g);
if (g->g.Powermode != powerSleep)
- gdisp_lld_init();
+ gdisp_lld_init(g);
break;
case powerSleep:
acquire_bus(g);