From d8f8f849076ab9be75451f20dbe52ab3907a1c01 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 30 May 2023 07:59:02 -0600 Subject: make sure blink_digit(0) uses the same timing as the rest of the UI (BLINK_ONCE_TIME) --- spaghetti-monster/fsm-misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/fsm-misc.c b/spaghetti-monster/fsm-misc.c index dacca85..0aeb7c3 100644 --- a/spaghetti-monster/fsm-misc.c +++ b/spaghetti-monster/fsm-misc.c @@ -30,7 +30,7 @@ uint8_t blink_digit(uint8_t num) { // "zero" digit gets a single short blink uint8_t ontime = BLINK_SPEED * 2 / 12; - if (!num) { ontime = 8; num ++; } + if (!num) { ontime = BLINK_ONCE_TIME; num ++; } #ifdef BLINK_CHANNEL // channel is set per blink, to prevent issues -- cgit v1.2.3