summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-04 09:16:40 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-09-04 09:16:40 -0400
commit0113e9dd36a495932d1e63cbc1348a9fc0e38738 (patch)
tree28a7f7d67fd05fae2e897bc3383f6b7578a8f700 /parser.c
parent39d501c681b65b27e3bfebdb37517637429ea9c9 (diff)
make broadcast command active in debug mode only
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index ef1d43a..b566896 100644
--- a/parser.c
+++ b/parser.c
@@ -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
}