Trigger diagRequest() on MODE SERVICE => MODE OOO
This commit is contained in:
parent
cc27b982ff
commit
577411289e
@ -312,6 +312,12 @@ void ATBDeviceControllerPlugin::onChangedProgramModeToIDLE()
|
|||||||
|
|
||||||
void ATBDeviceControllerPlugin::onChangedProgramModeToOOO()
|
void ATBDeviceControllerPlugin::onChangedProgramModeToOOO()
|
||||||
{
|
{
|
||||||
|
// trigger diagRequest on SERVICE -> IDLE
|
||||||
|
if (this->currentProgramMode == PROGRAM_MODE::SERVICE) {
|
||||||
|
hw->dc_autoRequest(true);
|
||||||
|
this->diag->diagRequest();
|
||||||
|
hw->mdb_switchWake(1);
|
||||||
|
}
|
||||||
this->currentProgramMode = PROGRAM_MODE::OOO;
|
this->currentProgramMode = PROGRAM_MODE::OOO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user