diff options
Diffstat (limited to 'app/max7219.c')
-rw-r--r-- | app/max7219.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/max7219.c b/app/max7219.c index fbba10d..bebfa50 100644 --- a/app/max7219.c +++ b/app/max7219.c @@ -103,7 +103,7 @@ void max7219_write (int d, int h, int m, int s) void max7219_dispatch (void) { - uint32_t now = SCS_DWT_CYCCNT; + uint32_t now = HW_CLOCK_REG; uint64_t abs = abs_extend (now); EPOCH e = pll_decompose (abs); UTC u = time_epoch_to_utc (e); |