diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-08-23 17:55:42 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-08-23 17:55:42 +1000 |
commit | 0c7c74112e07f612ea5a2da00a5962728225d41f (patch) | |
tree | 093d8e253f77a87b303db89dacc3e339454347ce /src/gfx.c | |
parent | 339150c55f934afccc989c75954a46f16612a777 (diff) | |
download | uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.tar.gz uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.tar.bz2 uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.zip |
GDRIVER now working for GDISP including multiple displays.
Still uses old GDISP driver model for now
Untested with uGFXnet.
Still to come: Input drivers etc
Diffstat (limited to 'src/gfx.c')
-rw-r--r-- | src/gfx.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -20,6 +20,10 @@ static bool_t initDone = FALSE; /* These init functions are defined by each module but not published */ extern void _gosInit(void); extern void _gosDeinit(void); +#if GFX_USE_GDRIVER + extern void _gdriverInit(void); + extern void _gdriverDeinit(void); +#endif #if GFX_USE_GDISP extern void _gdispInit(void); extern void _gdispDeinit(void); @@ -79,6 +83,9 @@ void gfxInit(void) #if GFX_USE_GTIMER _gtimerInit(); #endif + #if GFX_USE_GDRIVER + _gdriverInit(); + #endif #if GFX_USE_GDISP _gdispInit(); #endif @@ -118,6 +125,9 @@ void gfxDeinit(void) #if GFX_USE_GDISP _gdispDeinit(); #endif + #if GFX_USE_GDRIVER + _gdriverDeinit(); + #endif #if GFX_USE_GTIMER _gtimerDeinit(); #endif |