aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gaudin/main.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-05-25 01:26:52 +1000
committerinmarket <andrewh@inmarket.com.au>2013-05-25 01:26:52 +1000
commit7fbfde42aabbcd30cffba2fba35158236c0a6c6c (patch)
treee85c90a4f21974b706315d64209021e0b2bde764 /demos/modules/gaudin/main.c
parent42006a67b5ccfd86f30d8a91cc474681c437eaf6 (diff)
downloaduGFX-7fbfde42aabbcd30cffba2fba35158236c0a6c6c.tar.gz
uGFX-7fbfde42aabbcd30cffba2fba35158236c0a6c6c.tar.bz2
uGFX-7fbfde42aabbcd30cffba2fba35158236c0a6c6c.zip
GOS module, for operating system independance
GMISC fast floating point trig GMISC fast fixed point trig
Diffstat (limited to 'demos/modules/gaudin/main.c')
-rw-r--r--demos/modules/gaudin/main.c7
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();