From: tmk Date: Tue, 2 Dec 2014 17:08:27 +0000 (+0900) Subject: Clean ADC code of battery_voltage() X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=25aee431bd83b46d694293c85a939d476943a5aa;p=max%2Ftmk_keyboard.git Clean ADC code of battery_voltage() --- diff --git a/keyboard/hhkb_rn42/rn42/battery.c b/keyboard/hhkb_rn42/rn42/battery.c index 720d63be..3ecde522 100644 --- a/keyboard/hhkb_rn42/rn42/battery.c +++ b/keyboard/hhkb_rn42/rn42/battery.c @@ -20,7 +20,6 @@ void battery_init(void) // Ref:2.56V band-gap, Input:ADC0(PF0), Prescale:128(16MHz/128=125KHz) ADMUX = (1<