diff options
author | fishsoupisgood <github@madingley.org> | 2019-05-08 23:17:01 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-05-08 23:17:01 +0100 |
commit | 0548136a4c886830414fb575d9d0daa7f1a7d170 (patch) | |
tree | 29380a80a6ecae73d54a5d42990539494b71b871 /app/max7219.c | |
parent | ea0ef10070c1070dc66cb0d8689410722c06758e (diff) | |
download | clock-0548136a4c886830414fb575d9d0daa7f1a7d170.tar.gz clock-0548136a4c886830414fb575d9d0daa7f1a7d170.tar.bz2 clock-0548136a4c886830414fb575d9d0daa7f1a7d170.zip |
sysclk back to 168MHz, 10Mhz -> TIM2old-master
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); |