docs
This commit is contained in:
parent
035e0b588a
commit
99d1274f10
|
@ -60,17 +60,12 @@ Executor::Executor() {
|
|||
queue.setLateDelay(US2NT(100));
|
||||
}
|
||||
|
||||
/**
|
||||
* callback would be executed either on ISR thread or current thread if we would need to execute right away
|
||||
*/
|
||||
void Executor::scheduleByTimestamp(scheduling_s *scheduling, efitimeus_t timeUs, schfunc_t callback,
|
||||
void *param) {
|
||||
scheduleCounter++;
|
||||
// if (delayUs < 0) {
|
||||
// firmwareError(OBD_PCM_Processor_Fault, "Negative delayUs %s: %d", prefix, delayUs);
|
||||
// return;
|
||||
// }
|
||||
// if (delayUs == 0) {
|
||||
// callback(param);
|
||||
// return;
|
||||
// }
|
||||
bool alreadyLocked = true;
|
||||
if (!reentrantFlag) {
|
||||
// this would guard the queue and disable interrupts
|
||||
|
|
|
@ -362,8 +362,6 @@ void initRpmCalculator(Logging *sharedLogger, Engine *engine) {
|
|||
}
|
||||
#if (EFI_PROD_CODE || EFI_SIMULATOR) || defined(__DOXYGEN__)
|
||||
|
||||
// tdcScheduler[0].name = "tdc0";
|
||||
// tdcScheduler[1].name = "tdc1";
|
||||
addTriggerEventListener(tdcMarkCallback, "chart TDC mark", engine);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue