swap timer0 for symbol counter for millis and micros calculation - #23
swap timer0 for symbol counter for millis and micros calculation#23jacobrosenthal wants to merge 2 commits into
Conversation
|
awesome |
|
@matthijskooijman do you think he needs all of these avr/* files? |
|
Hm, I'm not too thrilled about this change. I like the end result, but to achieve it, a full copy of the Arduino core is made, to allow changing the Also, I'm not so sure if making millis() count during sleep is the best approach - it doesn't work like that on other boards, so this could cause portability problems for sketches and libraries (though I think there is not much code out there that takes sleeping into account at all). |
This allows us to keep proper millis and micros even while asleep! Thus also allows systimers to keep proper time while asleep