diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/radio/presets.c | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'apps/radio/presets.c')
-rw-r--r-- | apps/radio/presets.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/radio/presets.c b/apps/radio/presets.c index acd6dc8711..72e8c3bd65 100644 --- a/apps/radio/presets.c +++ b/apps/radio/presets.c | |||
@@ -473,21 +473,10 @@ int handle_radio_presets(void) | |||
473 | struct gui_synclist lists; | 473 | struct gui_synclist lists; |
474 | int result = 0; | 474 | int result = 0; |
475 | int action = ACTION_NONE; | 475 | int action = ACTION_NONE; |
476 | #ifdef HAVE_BUTTONBAR | ||
477 | struct gui_buttonbar buttonbar; | ||
478 | #endif | ||
479 | 476 | ||
480 | if(presets_loaded == false) | 477 | if(presets_loaded == false) |
481 | return result; | 478 | return result; |
482 | 479 | ||
483 | #ifdef HAVE_BUTTONBAR | ||
484 | gui_buttonbar_init(&buttonbar); | ||
485 | gui_buttonbar_set_display(&buttonbar, &(screens[SCREEN_MAIN]) ); | ||
486 | gui_buttonbar_set(&buttonbar, str(LANG_FM_BUTTONBAR_ADD), | ||
487 | str(LANG_FM_BUTTONBAR_EXIT), | ||
488 | str(LANG_FM_BUTTONBAR_ACTION)); | ||
489 | gui_buttonbar_draw(&buttonbar); | ||
490 | #endif | ||
491 | gui_synclist_init(&lists, presets_get_name, NULL, false, 1, NULL); | 480 | gui_synclist_init(&lists, presets_get_name, NULL, false, 1, NULL); |
492 | gui_synclist_set_title(&lists, str(LANG_PRESET), NOICON); | 481 | gui_synclist_set_title(&lists, str(LANG_PRESET), NOICON); |
493 | gui_synclist_set_icon_callback(&lists, NULL); | 482 | gui_synclist_set_icon_callback(&lists, NULL); |