diff options
Diffstat (limited to 'demos/modules/gaudin/main.c')
-rw-r--r-- | demos/modules/gaudin/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/demos/modules/gaudin/main.c b/demos/modules/gaudin/main.c index f532b324..a647d4af 100644 --- a/demos/modules/gaudin/main.c +++ b/demos/modules/gaudin/main.c @@ -31,8 +31,6 @@ * * It also demonstrates how to write your own custom GWIN window type. */ -#include "ch.h" -#include "hal.h" #include "gfx.h" /* Include our custom gwin audio oscilloscope */ @@ -52,10 +50,7 @@ int main(void) { GHandle ghScope; coord_t swidth, sheight; - halInit(); - chSysInit(); - gdispInit(); - gdispClear(Black); + gfxInit(); /* Get the screen dimensions */ swidth = gdispGetWidth(); |