mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add areaId for CRITICALLY_LOW_TIRE_PRESSURE" into sc-v2-dev am: 773ed6ddd9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15856346 Change-Id: I3ff39c2658f9a8a70add9331231e3ee951f400de
This commit is contained in:
@@ -307,6 +307,18 @@ const ConfigDeclaration kVehicleProperties[]{
|
||||
.prop = toInt(VehicleProperty::CRITICALLY_LOW_TIRE_PRESSURE),
|
||||
.access = VehiclePropertyAccess::READ,
|
||||
.changeMode = VehiclePropertyChangeMode::STATIC,
|
||||
.areaConfigs = {VehicleAreaConfig{
|
||||
.areaId = WHEEL_FRONT_LEFT,
|
||||
},
|
||||
VehicleAreaConfig{
|
||||
.areaId = WHEEL_FRONT_RIGHT,
|
||||
},
|
||||
VehicleAreaConfig{
|
||||
.areaId = WHEEL_REAR_LEFT,
|
||||
},
|
||||
VehicleAreaConfig{
|
||||
.areaId = WHEEL_REAR_RIGHT,
|
||||
}},
|
||||
},
|
||||
.initialAreaValues = {{WHEEL_FRONT_LEFT, {.floatValues = {137.0f}}},
|
||||
{WHEEL_FRONT_RIGHT, {.floatValues = {137.0f}}},
|
||||
|
||||
Reference in New Issue
Block a user