Commit 49d83700 authored by Bertho's avatar Bertho

Fix recursive SREG restore

parent 3261affd
......@@ -157,7 +157,7 @@ static uint8_t event_pop(void)
uint8_t ev;
if(evstart == evend) {
SREG = sr;
return 0;
ev = events[evend++];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment