aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfx.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-08-23 17:56:23 +1000
committerinmarket <andrewh@inmarket.com.au>2014-08-23 17:56:23 +1000
commite758a60b100913fe7fa82e9751292781c0328a38 (patch)
tree7e95c7cde2d9246f98fb006e3683e407468ba9c2 /src/gfx.c
parent2b47a0708602b45b0b5db120a496bf92232aa4b1 (diff)
parent0c7c74112e07f612ea5a2da00a5962728225d41f (diff)
downloaduGFX-e758a60b100913fe7fa82e9751292781c0328a38.tar.gz
uGFX-e758a60b100913fe7fa82e9751292781c0328a38.tar.bz2
uGFX-e758a60b100913fe7fa82e9751292781c0328a38.zip
Merge branch 'gdriver' into newmouse
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