From 7f68698142507faecdf74e0a572f2e526b8ffcd3 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Tue, 14 Aug 2012 12:43:23 -0400 Subject: Fix cppcheck warning, and add explicit Flash init names --- globals.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'globals.c') 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 }; -- cgit