Trigger decoding issues (60-2) #1488

100us is too much, 10us is more reasonable
This commit is contained in:
rusefi 2020-06-15 00:12:50 -04:00
parent 9016df654c
commit 200575ec87
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ void globalTimerCallback() {
SingleTimerExecutor::SingleTimerExecutor() {
/**
* 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) {