summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-22 13:11:39 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-22 13:11:39 -0400
commitfc0ac4d9ae743ee855180ccdb8f24a9eeef896cc (patch)
treea309cddcc8d400f8f95270128506d84eda2be00d /parser.c
parenteee587b04dc46ade28b84fd9534c3358afb4f181 (diff)
initialize all flash data now
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index c32ad27..299a4b1 100644
--- a/parser.c
+++ b/parser.c
@@ -865,7 +865,7 @@ static int Go_freq_32_33(gchar** response, int channel, char *parameter,char *un
/* no break */
case command_withparam:
- if ( (status = process_float_param (parameter, &new_freq, 1.0, 1.0e6, NORMAL_ZERO)) ) {
+ if ( (status = process_float_param (parameter, &new_freq, globals.Flash.min_freq[channel], globals.Flash.max_freq[channel], NORMAL_ZERO)) ) {
return status;
}
return Set_frequency(0,0,0,channel,new_freq);
@@ -876,7 +876,7 @@ static int Go_freq_32_33(gchar** response, int channel, char *parameter,char *un
break;
case query_param:
- return query_min_max_float (response, parameter, 1.0, 1.0e6);
+ return query_min_max_float (response, parameter, globals.Flash.min_freq[channel], globals.Flash.max_freq[channel]);
break;
default: