summaryrefslogtreecommitdiffstats
path: root/app/led.c
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.ourano.james.local>2021-03-20 18:48:43 +0000
committerroot <root@ka-ata-killa.ourano.james.local>2021-03-20 19:01:35 +0000
commitf211fe6461aae73f5ffdbe58961dbe3dd1309854 (patch)
treea4b698a5146f1ec2584f09db5b7f73f263d6bc4a /app/led.c
parent5b8f47a70a57765ba04a4d75dfa31a2f55f75029 (diff)
downloadclock-f211fe6461aae73f5ffdbe58961dbe3dd1309854.tar.gz
clock-f211fe6461aae73f5ffdbe58961dbe3dd1309854.tar.bz2
clock-f211fe6461aae73f5ffdbe58961dbe3dd1309854.zip
make the interval bisection work properly for events in the next hour, add an alarm output
Diffstat (limited to 'app/led.c')
-rw-r--r--app/led.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/led.c b/app/led.c
index 2dc285b..bc3853d 100644
--- a/app/led.c
+++ b/app/led.c
@@ -68,6 +68,13 @@ void led3_set (int v)
else CLEAR (LED3);
}
+void led5_set (int v)
+{
+ if (!v) SET (LED5);
+ else CLEAR (LED5);
+}
+
+
void
led_clear (void)
{