Diag: send operate (O000) only if State has changed
This commit is contained in:
@@ -52,7 +52,9 @@ namespace DeviceController {
|
||||
W001,
|
||||
W002,
|
||||
W003,
|
||||
W004
|
||||
W004,
|
||||
|
||||
INITIAL_STATE
|
||||
};
|
||||
Q_ENUM_NS(State)
|
||||
}
|
||||
@@ -91,6 +93,7 @@ private:
|
||||
|
||||
int lastVoltage;
|
||||
|
||||
DeviceController::State lastState;
|
||||
QSet<DeviceController::State> machineEventSet;
|
||||
|
||||
PersistentData* pData;
|
||||
|
||||
Reference in New Issue
Block a user