Trigger decoding issues (60-2) #1488
100us is too much, 10us is more reasonable
This commit is contained in:
parent
9016df654c
commit
200575ec87
|
@ -52,9 +52,9 @@ void globalTimerCallback() {
|
||||||
SingleTimerExecutor::SingleTimerExecutor() {
|
SingleTimerExecutor::SingleTimerExecutor() {
|
||||||
/**
|
/**
|
||||||
* See comments in "getNextEventTime"
|
* See comments in "getNextEventTime"
|
||||||
* todo: is this current value of 'lateDelay' a bit too high?
|
* 10us is roughly double the cost of the interrupt + overhead of a single timer event
|
||||||
*/
|
*/
|
||||||
queue.setLateDelay(US2NT(100));
|
queue.setLateDelay(US2NT(10));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SingleTimerExecutor::scheduleForLater(scheduling_s *scheduling, int delayUs, action_s action) {
|
void SingleTimerExecutor::scheduleForLater(scheduling_s *scheduling, int delayUs, action_s action) {
|
||||||
|
|
Loading…
Reference in New Issue