Commit cdbdcf2b authored by Alexey's avatar Alexey

Emit sensorHilChanged signal only if it was really changed

parent a22c17b4
......@@ -94,9 +94,10 @@ public slots:
}
void enableSensorHIL(bool enable) {
if (enable != _sensorHilEnabled)
if (enable != _sensorHilEnabled) {
_sensorHilEnabled = enable;
emit sensorHilChanged(enable);
}
}
void readBytes();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment