From 8b8109e7df87741bb8170f56e71db8a16cb7a3b4 Mon Sep 17 00:00:00 2001 From: Milosch Meriac Date: Sat, 25 Jan 2020 08:59:21 +0400 Subject: [PATCH] Turns out, there are more than 255 seconds in a year --- firmware/nRF51/reader-prox-microbit/src/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/nRF51/reader-prox-microbit/src/clock.c b/firmware/nRF51/reader-prox-microbit/src/clock.c index c00636f..6a4ff82 100644 --- a/firmware/nRF51/reader-prox-microbit/src/clock.c +++ b/firmware/nRF51/reader-prox-microbit/src/clock.c @@ -26,7 +26,7 @@ #include #include -static volatile uint8_t g_clock_time; +static volatile uint32_t g_clock_time; void RTC0_IRQ_Handler(void) {