aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfx.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-08-23 17:55:42 +1000
committerinmarket <andrewh@inmarket.com.au>2014-08-23 17:55:42 +1000
commit0c7c74112e07f612ea5a2da00a5962728225d41f (patch)
tree093d8e253f77a87b303db89dacc3e339454347ce /src/gfx.c
parent339150c55f934afccc989c75954a46f16612a777 (diff)
downloaduGFX-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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gfx.c b/src/gfx.c
index b291a736..0803f59a 100644
--- a/src/gfx.c
+++ b/src/gfx.c
@@ -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