From 2e46aa0e2c5c3e406e90890e5a581b0257303fa9 Mon Sep 17 00:00:00 2001 From: David Volovskiy Date: Tue, 3 Sep 2024 16:25:05 -0400 Subject: [PATCH] got rid of hardcoding of half-second zero blink --- movement/watch_faces/complication/endless_runner_face.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/movement/watch_faces/complication/endless_runner_face.c b/movement/watch_faces/complication/endless_runner_face.c index 54cf31ee..3509fc22 100644 --- a/movement/watch_faces/complication/endless_runner_face.c +++ b/movement/watch_faces/complication/endless_runner_face.c @@ -233,7 +233,7 @@ static void add_to_score(endless_runner_state_t *state) { static void display_fuel(uint8_t subsecond, uint8_t difficulty) { char buf[4]; - if (difficulty == DIFF_FUEL_1 && game_state.fuel == 0 && subsecond % 4 == 0) { + if (difficulty == DIFF_FUEL_1 && game_state.fuel == 0 && subsecond % (FREQ/2) == 0) { watch_display_string(" ", 2); // Blink the 0 fuel to show it cannot be refilled. return; }