mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "Duplicate setting when generate fake data" into rvc-dev
This commit is contained in:
@@ -175,9 +175,7 @@ StatusCode EmulatedVehicleHal::set(const VehiclePropValue& propValue) {
|
||||
// here, since we never send the control signal back, the value of 'updateStatus' flag
|
||||
// does not matter here.
|
||||
auto status = mVehicleClient->setProperty(propValue, updateStatus);
|
||||
if (status != StatusCode::OK) {
|
||||
return status;
|
||||
}
|
||||
return status;
|
||||
} else if (mHvacPowerProps.count(propValue.prop)) {
|
||||
auto hvacPowerOn = mPropStore->readValueOrNull(
|
||||
toInt(VehicleProperty::HVAC_POWER_ON),
|
||||
|
||||
Reference in New Issue
Block a user