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) | |
| download | qmk_firmware-c77c5043a121f195b3a552feb8283424a0652ce2.tar.gz qmk_firmware-c77c5043a121f195b3a552feb8283424a0652ce2.zip | |
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 a8c28dd89..3b3f5e302 100644 --- a/protocol/usb_hid/override_wiring.c +++ b/protocol/usb_hid/override_wiring.c | |||
| @@ -8,11 +8,11 @@ | |||
| 8 | 8 | ||
| 9 | unsigned long millis() | 9 | unsigned long millis() |
| 10 | { | 10 | { |
| 11 | return timer_read(); | 11 | return timer_read32(); |
| 12 | } | 12 | } |
| 13 | unsigned long micros() | 13 | unsigned long micros() |
| 14 | { | 14 | { |
| 15 | return timer_read() * 1000UL; | 15 | return timer_read32() * 1000UL; |
| 16 | } | 16 | } |
| 17 | void delay(unsigned long ms) | 17 | void delay(unsigned long ms) |
| 18 | { | 18 | { |
