X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Ftimer.c;h=e0dec6cefcf9d07fef9f25b32f8efcd640e1958e;hb=92b92dd78f5488981244d353f2d500ad9d82fc49;hp=8b8d37e8b32c47e1a393061e87ee6d0157382779;hpb=c77c5043a121f195b3a552feb8283424a0652ce2;p=tmk_firmware.git diff --git a/common/timer.c b/common/timer.c index 8b8d37e..e0dec6c 100644 --- a/common/timer.c +++ b/common/timer.c @@ -22,6 +22,7 @@ along with this program. If not, see . // counter resolution 1ms +// NOTE: union { uint32_t timer32; struct { uint16_t dummy; uint16_t timer16; }} volatile uint32_t timer_count = 0; void timer_init(void)