From 3b81ffc16c8cdf260c25f0778d32c721af4f105c Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 4 Sep 2014 17:08:23 +0900 Subject: Monitor battery and alert low voltage --- keyboard/hhkb_rn42/rn42/battery.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'keyboard/hhkb_rn42/rn42/battery.c') diff --git a/keyboard/hhkb_rn42/rn42/battery.c b/keyboard/hhkb_rn42/rn42/battery.c index 32de864481..c6988fe336 100644 --- a/keyboard/hhkb_rn42/rn42/battery.c +++ b/keyboard/hhkb_rn42/rn42/battery.c @@ -49,10 +49,11 @@ bool battery_charging(void) { if (!(USBSTA&(1<