Request diag on wokeup from DeviceController

This commit is contained in:
2023-07-25 12:56:15 +02:00
parent 6312d133db
commit d868c15359
2 changed files with 9 additions and 1 deletions

View File

@@ -948,7 +948,13 @@ int ATBDeviceControllerPlugin::init_sc_dbus()
return 1;
}
void ATBDeviceControllerPlugin::onWokeUp(uchar source)
{
if (source == 0x01) {
// woke up from device controller
this->diag->diagRequest();
}
}
/************************************************************************************************