X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Ftimer.c;h=e0dec6cefcf9d07fef9f25b32f8efcd640e1958e;hb=b9e265368fde73daff069788dcb58c8230d01b32;hp=8b8d37e8b32c47e1a393061e87ee6d0157382779;hpb=dc79a8521946a3a2e5b86945b8043b87a8b8d78c;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)