diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/device-functions.c b/device-functions.c index 1ad00ba..5f3ebc4 100644 --- a/device-functions.c +++ b/device-functions.c @@ -26,15 +26,13 @@ int Set_frequency(int check_possible_only,int word_override,int range_override,i // all this does right now is check the frequency range, // and store the set value. - int check_valid; - /* abandon if high channel selected by user but not enabled by firmware */ if (channel && !globals.Flash.ChanKey_frequency) { return InvalidChannel; } if (!check_possible_only) { - int i; + int i, check_valid; for (i=0; i<max_channels; ++i) { TestState[i]=globals.ChannelState[i]; } |