Skip to content
Snippets Groups Projects
Commit 527dcdf3 authored by John Arne Birkeland's avatar John Arne Birkeland Committed by Pat Hickey
Browse files

AP_HAL_AVR: Improved AVRTimer micros() and millis()

- More efficient code by using 16-bit timer
- micros() now has proper 1 us resolution and less overhead
- millis() has less overhead
- removed unneeded/unwanted initializatin of timers in AVRTimer::init()

pull request 62, approved and merged by pat
parent 9d34ead4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment