X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Ftimer.c;h=e0dec6cefcf9d07fef9f25b32f8efcd640e1958e;hb=821563417565776d2dc3a02b0265e6fcd5218739;hp=8b8d37e8b32c47e1a393061e87ee6d0157382779;hpb=c77c5043a121f195b3a552feb8283424a0652ce2;p=max%2Ftmk_keyboard.git diff --git a/common/timer.c b/common/timer.c index 8b8d37e8..e0dec6ce 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)