diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-09-04 09:16:40 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-09-04 09:16:40 -0400 |
commit | 0113e9dd36a495932d1e63cbc1348a9fc0e38738 (patch) | |
tree | 28a7f7d67fd05fae2e897bc3383f6b7578a8f700 | |
parent | 39d501c681b65b27e3bfebdb37517637429ea9c9 (diff) |
make broadcast command active in debug mode only
-rw-r--r-- | parser.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4191,6 +4191,8 @@ static int Go_cal_interval_101(gchar** response, int channel, char *parameter,ch static int Go_broadcast_103(gchar** response, int channel, char *parameter,char *units,int command_type) { +#ifdef DEBUG_ON + gchar *broadcast_str = NULL; switch (command_type) { @@ -4214,4 +4216,9 @@ static int Go_broadcast_103(gchar** response, int channel, char *parameter,char } return ThisShouldntHappen; + +#else + + return Unrecognized; +#endif } |