diff options
-rw-r--r-- | apps/debug_menu.c | 5 | ||||
-rwxr-xr-x | firmware/target/arm/philips/hdd1630/button-hdd1630.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d3022df78e..f613c0a18a 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1223,6 +1223,11 @@ extern unsigned char serbuf[]; | |||
1223 | snprintf(buf, sizeof(buf), "REM: %03x PAD: %03x", | 1223 | snprintf(buf, sizeof(buf), "REM: %03x PAD: %03x", |
1224 | adc_read(ADC_REMOTE), adc_read(ADC_SCROLLPAD)); | 1224 | adc_read(ADC_REMOTE), adc_read(ADC_SCROLLPAD)); |
1225 | lcd_puts(0, line++, buf); | 1225 | lcd_puts(0, line++, buf); |
1226 | #elif defined(PHILIPS_HDD1630) | ||
1227 | line++; | ||
1228 | snprintf(buf, sizeof(buf), "BATT: %03x UNK1: %03x", | ||
1229 | adc_read(ADC_BATTERY), adc_read(ADC_UNKNOWN_1)); | ||
1230 | lcd_puts(0, line++, buf); | ||
1226 | #elif defined(SANSA_E200) || defined(PHILIPS_SA9200) | 1231 | #elif defined(SANSA_E200) || defined(PHILIPS_SA9200) |
1227 | snprintf(buf, sizeof(buf), "ADC_BVDD: %4d", adc_read(ADC_BVDD)); | 1232 | snprintf(buf, sizeof(buf), "ADC_BVDD: %4d", adc_read(ADC_BVDD)); |
1228 | lcd_puts(0, line++, buf); | 1233 | lcd_puts(0, line++, buf); |
diff --git a/firmware/target/arm/philips/hdd1630/button-hdd1630.c b/firmware/target/arm/philips/hdd1630/button-hdd1630.c index 8976e7325c..c0ac8d7c10 100755 --- a/firmware/target/arm/philips/hdd1630/button-hdd1630.c +++ b/firmware/target/arm/philips/hdd1630/button-hdd1630.c | |||
@@ -40,7 +40,7 @@ static int int_btn = BUTTON_NONE; | |||
40 | void button_click(void) | 40 | void button_click(void) |
41 | { | 41 | { |
42 | GPO32_ENABLE |= 0x2000; | 42 | GPO32_ENABLE |= 0x2000; |
43 | GPIOD_OUTPUT_VAL |= 0x8; | 43 | GPO32_VAL |= 0x2000; |
44 | udelay(1000); | 44 | udelay(1000); |
45 | GPO32_VAL &= ~0x2000; | 45 | GPO32_VAL &= ~0x2000; |
46 | } | 46 | } |