summaryrefslogtreecommitdiff
path: root/keyboard
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2014-12-03 02:17:54 +0900
committertmk <hasu@tmk-kbd.com>2015-01-15 17:08:48 +0900
commit2d7973fc3fa27b74379ba08392e2487e208b770a (patch)
tree37d4a85b40e57f65199f3a8b6f49d841860c827f /keyboard
parent25aee431bd83b46d694293c85a939d476943a5aa (diff)
downloadqmk_firmware-2d7973fc3fa27b74379ba08392e2487e208b770a.tar.gz
qmk_firmware-2d7973fc3fa27b74379ba08392e2487e208b770a.zip
Fix: enable digital input for PF5
Diffstat (limited to 'keyboard')
-rw-r--r--keyboard/hhkb_rn42/rn42/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb_rn42/rn42/battery.c b/keyboard/hhkb_rn42/rn42/battery.c
index 3ecde52234..34aa18446c 100644
--- a/keyboard/hhkb_rn42/rn42/battery.c
+++ b/keyboard/hhkb_rn42/rn42/battery.c
@@ -21,7 +21,7 @@ void battery_init(void)
ADMUX = (1<<REFS1) | (1<<REFS0);
ADCSRA = (1<<ADPS2) | (1<<ADPS1) | (1<<ADPS0);
// digital input buffer disable(24.9.5)
- DIDR0 = (1<<ADC0D) | (1<<ADC4D) | (1<<ADC5D) | (1<<ADC7D);
+ DIDR0 = (1<<ADC0D) | (1<<ADC4D) | (1<<ADC7D);
DIDR1 = (1<<AIN0D);
DIDR2 = (1<<ADC8D) | (1<<ADC9D) | (1<<ADC11D) | (1<<ADC12D) | (1<<ADC13D);