X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Fhhkb_rn42%2Frn42%2Frn42_task.c;h=07b34e111a4317f8b15382fb1f77cdc9d479f4ce;hb=02939ab1d831ab7bb02edb28cb0b21fb61bced56;hp=fd5a814b294fc459679a3cb96f63022fe2e4992e;hpb=ae28b16fc630cc8219676f1bfb9cee41f0b36a79;p=tmk_firmware.git diff --git a/keyboard/hhkb_rn42/rn42/rn42_task.c b/keyboard/hhkb_rn42/rn42/rn42_task.c index fd5a814..07b34e1 100644 --- a/keyboard/hhkb_rn42/rn42/rn42_task.c +++ b/keyboard/hhkb_rn42/rn42/rn42_task.c @@ -9,6 +9,7 @@ #include "print.h" #include "timer.h" #include "command.h" +#include "battery.h" static bool config_mode = false; static bool force_usb = false; @@ -24,65 +25,9 @@ static void status_led(bool on) } } -static void battery_adc_init(void) -{ - ADMUX = (1<