Fixed Isr restore (moved out of loop)

This commit is contained in:
David Sidrane
2016-02-03 16:45:39 -10:00
committed by Lorenz Meier
parent 80c532acf1
commit 7541aecd18
+2 -2
View File
@@ -679,10 +679,10 @@ int io_timer_set_enable(bool state, io_timer_channel_mode_t mode, io_timer_chann
rCR1(actions) = 0;
}
irqrestore(flags);
}
irqrestore(flags);
return 0;
}