it's going to be painful
This commit is contained in:
parent
51e3425433
commit
50bb3aff97
|
@ -178,7 +178,7 @@ void Engine::periodicSlowCallback() {
|
|||
#endif // EFI_PROD_CODE
|
||||
|
||||
#if ANALOG_HW_CHECK_MODE
|
||||
efiAssertVoid(OBD_PCM_Processor_Fault, isAdcChannelValid(engineConfiguration->clt.adcChannel), "No CLT setting");
|
||||
efiAssertVoid(ObdCode::OBD_PCM_Processor_Fault, isAdcChannelValid(engineConfiguration->clt.adcChannel), "No CLT setting");
|
||||
efitimesec_t secondsNow = getTimeNowS();
|
||||
|
||||
#if ! HW_CHECK_ALWAYS_STIMULATE
|
||||
|
|
|
@ -108,7 +108,7 @@ void EventQueue::remove(scheduling_s* scheduling) {
|
|||
return;
|
||||
}
|
||||
|
||||
efiAssertVoid(OBD_PCM_Processor_Fault, current == scheduling, "current not equal to scheduling");
|
||||
efiAssertVoid(ObdCode::OBD_PCM_Processor_Fault, current == scheduling, "current not equal to scheduling");
|
||||
|
||||
// Link around the removed item
|
||||
prev->nextScheduling_s = current->nextScheduling_s;
|
||||
|
|
|
@ -50,7 +50,7 @@ static bool hwStarted = false;
|
|||
* This function should be invoked under kernel lock which would disable interrupts.
|
||||
*/
|
||||
void setHardwareSchedulerTimer(efitick_t nowNt, efitick_t setTimeNt) {
|
||||
efiAssertVoid(OBD_PCM_Processor_Fault, hwStarted, "HW.started");
|
||||
efiAssertVoid(ObdCode::OBD_PCM_Processor_Fault, hwStarted, "HW.started");
|
||||
|
||||
// How many ticks in the future is this event?
|
||||
auto timeDeltaNt = setTimeNt - nowNt;
|
||||
|
|
Loading…
Reference in New Issue