diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 251d3b35ae..9d721d02e0 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -318,7 +318,7 @@ bool dbg_audio_thread(void) | |||
318 | break; | 318 | break; |
319 | case ACTION_STD_CANCEL: | 319 | case ACTION_STD_CANCEL: |
320 | done = true; | 320 | done = true; |
321 | break; | 321 | break; |
322 | } | 322 | } |
323 | action_signalscreenchange(); | 323 | action_signalscreenchange(); |
324 | line = 0; | 324 | line = 0; |
@@ -1070,15 +1070,17 @@ bool dbg_ports(void) | |||
1070 | adc_remotedetect = adc_read(ADC_REMOTEDETECT); | 1070 | adc_remotedetect = adc_read(ADC_REMOTEDETECT); |
1071 | #endif | 1071 | #endif |
1072 | 1072 | ||
1073 | #ifdef IAUDIO_X5 | 1073 | #if defined(IAUDIO_X5) || defined(IRIVER_H300_SERIES) |
1074 | snprintf(buf, sizeof(buf), "ADC_BUTTONS (%c): %02x", | 1074 | snprintf(buf, sizeof(buf), "ADC_BUTTONS (%c): %02x", |
1075 | button_scan_enabled() ? '+' : '-', adc_buttons); | 1075 | button_scan_enabled() ? '+' : '-', adc_buttons); |
1076 | #else | ||
1077 | snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons); | ||
1078 | #endif | ||
1076 | lcd_puts(0, line++, buf); | 1079 | lcd_puts(0, line++, buf); |
1080 | #ifdef IAUDIO_X5 | ||
1077 | snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", | 1081 | snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", |
1078 | remote_detect() ? '+' : '-', adc_remote); | 1082 | remote_detect() ? '+' : '-', adc_remote); |
1079 | #else | 1083 | #else |
1080 | snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons); | ||
1081 | lcd_puts(0, line++, buf); | ||
1082 | snprintf(buf, sizeof(buf), "ADC_REMOTE: %02x", adc_remote); | 1084 | snprintf(buf, sizeof(buf), "ADC_REMOTE: %02x", adc_remote); |
1083 | #endif | 1085 | #endif |
1084 | lcd_puts(0, line++, buf); | 1086 | lcd_puts(0, line++, buf); |