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/menus/settings_menu.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/menus/settings_menu.c')
-rw-r--r-- | apps/menus/settings_menu.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 2a08ab0a4e..2957b0635c 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c | |||
@@ -339,27 +339,6 @@ MAKE_MENU(keyclick_menu, ID2P(LANG_KEYCLICK), 0, Icon_NOICON, | |||
339 | #endif | 339 | #endif |
340 | #endif | 340 | #endif |
341 | 341 | ||
342 | |||
343 | #if CONFIG_CODEC == MAS3507D | ||
344 | void dac_line_in(bool enable); | ||
345 | static int linein_callback(int action, | ||
346 | const struct menu_item_ex *this_item, | ||
347 | struct gui_synclist *this_list) | ||
348 | { | ||
349 | (void)this_item; | ||
350 | (void)this_list; | ||
351 | switch (action) | ||
352 | { | ||
353 | case ACTION_EXIT_MENUITEM: /* on exit */ | ||
354 | #ifndef SIMULATOR | ||
355 | dac_line_in(global_settings.line_in); | ||
356 | #endif | ||
357 | break; | ||
358 | } | ||
359 | return action; | ||
360 | } | ||
361 | MENUITEM_SETTING(line_in, &global_settings.line_in, linein_callback); | ||
362 | #endif | ||
363 | #if CONFIG_CHARGING | 342 | #if CONFIG_CHARGING |
364 | MENUITEM_SETTING(car_adapter_mode, &global_settings.car_adapter_mode, NULL); | 343 | MENUITEM_SETTING(car_adapter_mode, &global_settings.car_adapter_mode, NULL); |
365 | MENUITEM_SETTING(car_adapter_mode_delay, &global_settings.car_adapter_mode_delay, NULL); | 344 | MENUITEM_SETTING(car_adapter_mode_delay, &global_settings.car_adapter_mode_delay, NULL); |
@@ -440,9 +419,6 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM), | |||
440 | #ifdef HAVE_MORSE_INPUT | 419 | #ifdef HAVE_MORSE_INPUT |
441 | &morse_input, | 420 | &morse_input, |
442 | #endif | 421 | #endif |
443 | #if CONFIG_CODEC == MAS3507D | ||
444 | &line_in, | ||
445 | #endif | ||
446 | #if CONFIG_CHARGING | 422 | #if CONFIG_CHARGING |
447 | &car_adapter_mode_menu, | 423 | &car_adapter_mode_menu, |
448 | #endif | 424 | #endif |