dc_autoRequest is allways switched on

This commit is contained in:
Siegfried Siegert 2023-06-15 09:48:25 +02:00
parent ac6331e5a7
commit f2637e3af8
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -54,6 +54,8 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive
// open serial port
hw->dc_openSerial(5, "115200", serialPort, 1);
hw->dc_autoRequest(true);
hw->rtc_setDateTime();
@ -72,17 +74,17 @@ PLUGIN_STATE ATBDeviceControllerPlugin::initDCPlugin(QObject *healthEventReceive
void ATBDeviceControllerPlugin::onChangedProgramModeToSELL()
{
hw->dc_autoRequest(true);
//hw->dc_autoRequest(true);
}
void ATBDeviceControllerPlugin::onChangedProgramModeToSERVICE()
{
hw->dc_autoRequest(true);
//hw->dc_autoRequest(true);
}
void ATBDeviceControllerPlugin::onChangedProgramModeToIDLE()
{
hw->dc_autoRequest(false); // <-- TODO: ???
//hw->dc_autoRequest(false); // <-- TODO: ???
}
void ATBDeviceControllerPlugin::onChangedProgramModeToOOO()