diff options
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: |