diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-05-09 21:25:31 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-05-09 21:25:31 +1000 |
commit | 9e8b38ba943b339b966b1011bab899720d6305fc (patch) | |
tree | f0b169569f380857e4ed7c3927d0197bcb5ec6ae /demos/modules/gadc | |
parent | ca1a83abca9ecc159ff6f0d9e27ab133fb947997 (diff) | |
download | uGFX-9e8b38ba943b339b966b1011bab899720d6305fc.tar.gz uGFX-9e8b38ba943b339b966b1011bab899720d6305fc.tar.bz2 uGFX-9e8b38ba943b339b966b1011bab899720d6305fc.zip |
Add gwinClearInit() and gwinWidgetClearInit() to clear gwin initialisation structures.
Incorporate into demo's
Diffstat (limited to 'demos/modules/gadc')
-rw-r--r-- | demos/modules/gadc/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/modules/gadc/main.c b/demos/modules/gadc/main.c index 7db14c82..ae508278 100644 --- a/demos/modules/gadc/main.c +++ b/demos/modules/gadc/main.c @@ -152,6 +152,8 @@ int main(void) { gwinSetDefaultFont(font); { GWindowInit wi; + + gwinClearInit(&wi); wi.show = TRUE; wi.x = wi.y = 0; wi.width = swidth-SCOPE_CX; @@ -184,6 +186,8 @@ int main(void) { /* Set up the scope window in the top right on the screen */ { GWindowInit wi; + + gwinClearInit(&wi); wi.show = TRUE; wi.x = swidth-SCOPE_CX; wi.y = 0; |