shilow Posted March 28, 2016 Report Posted March 28, 2016 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);
Joel Bodenmann Posted March 29, 2016 Report Posted March 29, 2016 Thank you very much for reporting this issue (and providing the corresponding patch). We have applied your patch to the repository: https://bitbucket.org/Tectu/ugfx/commits/25802124fb64a949971a89dd2ef34b749d949494
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now