summaryrefslogtreecommitdiff
path: root/globals.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-14 12:43:23 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-14 12:43:23 -0400
commit7f68698142507faecdf74e0a572f2e526b8ffcd3 (patch)
tree6df534b82ce6693ced474a962b8fe6f967b4bc35 /globals.c
parentfed09a34189c3e2f3e8378f143c63683767d0104 (diff)
Fix cppcheck warning, and add explicit Flash init names
Diffstat (limited to 'globals.c')
-rw-r--r--globals.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/globals.c b/globals.c
index 1dbfb87..15f210b 100644
--- a/globals.c
+++ b/globals.c
@@ -2,7 +2,10 @@
GlobalStruct globals = {
.ChannelState = {0.0},
- .Flash = { "FIXME", (int)1, (char)0, (char)0 },
+ .Flash = { .aux_error_message="FIXME",
+ .channels = (int)1,
+ .enable_avrq_extra_ampls = (char)0,
+ .ChanKey_frequency = (char)0 },
.error_queue = {0},
.number_of_errors = 0
};