diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-22 13:11:39 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-22 13:11:39 -0400 |
commit | fc0ac4d9ae743ee855180ccdb8f24a9eeef896cc (patch) | |
tree | a309cddcc8d400f8f95270128506d84eda2be00d /parser.c | |
parent | eee587b04dc46ade28b84fd9534c3358afb4f181 (diff) |
initialize all flash data now
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |