aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/usbserial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-08-06 19:21:16 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-08-08 00:27:28 -0400
commit78982ebb51b0895b3178a85edcb1543939dc13b4 (patch)
treea1961fb294104a81e37ff3af93e643fdd35e5f30 /src/avr/usbserial.c
parent6a63c27542fc7b432ed438ce1d62243b5aebc3da (diff)
downloadkutter-78982ebb51b0895b3178a85edcb1543939dc13b4.tar.gz
kutter-78982ebb51b0895b3178a85edcb1543939dc13b4.tar.xz
kutter-78982ebb51b0895b3178a85edcb1543939dc13b4.zip
avr: Implement internal avr specific timer to handle 16bit overflows
Don't rely on the generic scheduler code to always have a timer no more than 1ms in the future. Instead, create an avr specific timer that will be called every 0x8000 ticks. This simplifies the generic code and it reduces the amount of code that needs to be run every millisecond. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr/usbserial.c')
0 files changed, 0 insertions, 0 deletions