Merge "Added min/max rates for EV_CHARGE_TIME_REMAINING" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-04-22 16:26:28 +00:00
committed by Android (Google) Code Review

View File

@@ -326,6 +326,8 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
.prop = toInt(VehicleProperty::EV_CHARGE_TIME_REMAINING),
.access = VehiclePropertyAccess::READ,
.changeMode = VehiclePropertyChangeMode::CONTINUOUS,
.minSampleRate = 1.0f,
.maxSampleRate = 10.0f,
},
.initialValue = {.int32Values = {20}}},