diff options
author | tmk <nobody@nowhere> | 2012-09-02 23:47:18 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-09-02 23:47:18 +0900 |
commit | c77c5043a121f195b3a552feb8283424a0652ce2 (patch) | |
tree | 5b20b8c5cb7702408ffc10af0c259d71e6ce4ce9 /protocol/usb_hid/override_wiring.c | |
parent | b17f52ebe188b612d0cb063bd2386434a952aaf4 (diff) |
usb_hid: Fix timer size uint16_t to uint32_t;
Diffstat (limited to 'protocol/usb_hid/override_wiring.c')
-rw-r--r-- | protocol/usb_hid/override_wiring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/usb_hid/override_wiring.c b/protocol/usb_hid/override_wiring.c index a8c28dd898..3b3f5e3028 100644 --- a/protocol/usb_hid/override_wiring.c +++ b/protocol/usb_hid/override_wiring.c @@ -8,11 +8,11 @@ unsigned long millis() { - return timer_read(); + return timer_read32(); } unsigned long micros() { - return timer_read() * 1000UL; + return timer_read32() * 1000UL; } void delay(unsigned long ms) { |