dc_autoRequest is allways switched on
This commit is contained in:
parent
ac6331e5a7
commit
f2637e3af8
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user