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