From fc0ac4d9ae743ee855180ccdb8f24a9eeef896cc Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Wed, 22 Aug 2012 13:11:39 -0400 Subject: initialize all flash data now --- parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parser.c') 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: -- cgit