aboutsummaryrefslogtreecommitdiffstats
path: root/halext/src
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-08-09 18:56:09 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-08-09 18:56:09 +1000
commit4ffb258d71fe0720418fb350b6f3d5354240dddf (patch)
treeb9d57dbcbc8013065560c3056952c1e38b498124 /halext/src
parent8f9c956810cc2cc66306d41b8501b366eab9c035 (diff)
downloaduGFX-4ffb258d71fe0720418fb350b6f3d5354240dddf.tar.gz
uGFX-4ffb258d71fe0720418fb350b6f3d5354240dddf.tar.bz2
uGFX-4ffb258d71fe0720418fb350b6f3d5354240dddf.zip
Removed GDISPDriver structure, add macros
Removed the GDISPDriver strucutre definitions, and as a parameter to gdispInit. Added macros for common Control and Query routines eg. gdispGetWidth ...
Diffstat (limited to 'halext/src')
-rw-r--r--halext/src/gdisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/halext/src/gdisp.c b/halext/src/gdisp.c
index 90b4582d..ee2b98e4 100644
--- a/halext/src/gdisp.c
+++ b/halext/src/gdisp.c
@@ -154,7 +154,7 @@
*
* @init
*/
- bool_t gdispInit(GDISPDriver * UNUSED(gdisp)) {
+ bool_t gdispInit(void) {
bool_t res;
/* Initialise Mutex */
@@ -168,7 +168,7 @@
return res;
}
#elif GDISP_NEED_ASYNC
- bool_t gdispInit(GDISPDriver * UNUSED(gdisp)) {
+ bool_t gdispInit(void) {
bool_t res;
unsigned i;