aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gadc
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gadc')
-rw-r--r--demos/modules/gadc/main.c4
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;