diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index b08fcb461f..996f13d55c 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1190,6 +1190,34 @@ bool dbg_ports(void) | |||
1190 | lcd_puts(0, line++, buf); | 1190 | lcd_puts(0, line++, buf); |
1191 | snprintf(buf, sizeof(buf), "ADC_SCROLLPAD: %02x", adc_read(ADC_SCROLLPAD)); | 1191 | snprintf(buf, sizeof(buf), "ADC_SCROLLPAD: %02x", adc_read(ADC_SCROLLPAD)); |
1192 | lcd_puts(0, line++, buf); | 1192 | lcd_puts(0, line++, buf); |
1193 | #elif defined(SANSA_E200) | ||
1194 | line++; | ||
1195 | snprintf(buf, sizeof(buf), "ADC_BVDD: %02x", adc_read(ADC_BVDD)); | ||
1196 | lcd_puts(0, line++, buf); | ||
1197 | snprintf(buf, sizeof(buf), "ADC_RTCSUP: %02x", adc_read(ADC_RTCSUP)); | ||
1198 | lcd_puts(0, line++, buf); | ||
1199 | snprintf(buf, sizeof(buf), "ADC_UVDD: %02x", adc_read(ADC_UVDD)); | ||
1200 | lcd_puts(0, line++, buf); | ||
1201 | snprintf(buf, sizeof(buf), "ADC_CHG_IN: %02x", adc_read(ADC_CHG_IN)); | ||
1202 | lcd_puts(0, line++, buf); | ||
1203 | snprintf(buf, sizeof(buf), "ADC_CVDD: %02x", adc_read(ADC_CVDD)); | ||
1204 | lcd_puts(0, line++, buf); | ||
1205 | snprintf(buf, sizeof(buf), "ADC_BATTEMP: %02x", adc_read(ADC_BATTEMP)); | ||
1206 | lcd_puts(0, line++, buf); | ||
1207 | snprintf(buf, sizeof(buf), "ADC_MICSUP1: %02x", adc_read(ADC_MICSUP1)); | ||
1208 | lcd_puts(0, line++, buf); | ||
1209 | snprintf(buf, sizeof(buf), "ADC_MICSUP2: %02x", adc_read(ADC_MICSUP2)); | ||
1210 | lcd_puts(0, line++, buf); | ||
1211 | snprintf(buf, sizeof(buf), "ADC_VBE1: %02x", adc_read(ADC_VBE1)); | ||
1212 | lcd_puts(0, line++, buf); | ||
1213 | snprintf(buf, sizeof(buf), "ADC_VBE2: %02x", adc_read(ADC_VBE2)); | ||
1214 | lcd_puts(0, line++, buf); | ||
1215 | snprintf(buf, sizeof(buf), "ADC_I_MICSUP1: %02x", adc_read(ADC_I_MICSUP1)); | ||
1216 | lcd_puts(0, line++, buf); | ||
1217 | snprintf(buf, sizeof(buf), "ADC_I_MICSUP2: %02x", adc_read(ADC_I_MICSUP2)); | ||
1218 | lcd_puts(0, line++, buf); | ||
1219 | snprintf(buf, sizeof(buf), "ADC_VBAT: %02x", adc_read(ADC_VBAT)); | ||
1220 | lcd_puts(0, line++, buf); | ||
1193 | #endif | 1221 | #endif |
1194 | lcd_update(); | 1222 | lcd_update(); |
1195 | if (button_get_w_tmo(HZ/10) == (DEBUG_CANCEL|BUTTON_REL)) | 1223 | if (button_get_w_tmo(HZ/10) == (DEBUG_CANCEL|BUTTON_REL)) |