summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/radio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 5dbe9478d6..4961212178 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -324,7 +324,7 @@ bool radio_screen(void)
case BUTTON_LEFT:
curr_freq -= FREQ_STEP;
if(curr_freq < MIN_FREQ)
- curr_freq = MIN_FREQ;
+ curr_freq = MAX_FREQ;
radio_set(RADIO_FREQUENCY, curr_freq);
curr_preset = find_preset(curr_freq);
@@ -336,7 +336,7 @@ bool radio_screen(void)
case BUTTON_RIGHT:
curr_freq += FREQ_STEP;
if(curr_freq > MAX_FREQ)
- curr_freq = MAX_FREQ;
+ curr_freq = MIN_FREQ;
radio_set(RADIO_FREQUENCY, curr_freq);
curr_preset = find_preset(curr_freq);