diff options
Diffstat (limited to 'apps/radio/radio.c')
-rw-r--r-- | apps/radio/radio.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 4da37b2ca5..e4b14c843e 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c | |||
@@ -364,18 +364,6 @@ static void end_search(void) | |||
364 | search_dir = 0; | 364 | search_dir = 0; |
365 | } | 365 | } |
366 | 366 | ||
367 | /* Speak a frequency. */ | ||
368 | void talk_freq(int freq, bool enqueue) | ||
369 | { | ||
370 | freq /= 10000; | ||
371 | talk_number(freq / 100, enqueue); | ||
372 | talk_id(LANG_POINT, true); | ||
373 | talk_number(freq % 100 / 10, true); | ||
374 | if (freq % 10) | ||
375 | talk_number(freq % 10, true); | ||
376 | } | ||
377 | |||
378 | |||
379 | void radio_screen(void) | 367 | void radio_screen(void) |
380 | { | 368 | { |
381 | bool done = false; | 369 | bool done = false; |
@@ -798,7 +786,7 @@ void radio_screen(void) | |||
798 | bool enqueue = false; | 786 | bool enqueue = false; |
799 | if (radio_mode == RADIO_SCAN_MODE) | 787 | if (radio_mode == RADIO_SCAN_MODE) |
800 | { | 788 | { |
801 | talk_freq(curr_freq, enqueue); | 789 | talk_value_decimal(curr_freq, UNIT_INT, 6, enqueue); |
802 | enqueue = true; | 790 | enqueue = true; |
803 | } | 791 | } |
804 | if (radio_current_preset() >= 0) | 792 | if (radio_current_preset() >= 0) |