Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c36d6be8 authored by Jusik Chung's avatar Jusik Chung
Browse files

VHAL for PERF_VEHICLE_SPEED_DISPLAY.

Bug: 261934875
Bug: 261943854
Test: adb shell cmd car_service get-property-value 0x11600208
Change-Id: I0390189129ebd41a913f5fc0f903a0ee22b226d7
Merged-In: Ifdd41da591e8c352326a247f65a59cda36b76981
parent 3445f0b3
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -167,7 +167,15 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
                         .maxSampleRate = 10.0f,
                 },
         .initialValue = {.floatValues = {0.0f}}},

        {.config =
                 {
                         .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED_DISPLAY),
                         .access = VehiclePropertyAccess::READ,
                         .changeMode = VehiclePropertyChangeMode::CONTINUOUS,
                         .minSampleRate = 1.0f,
                         .maxSampleRate = 10.0f,
                 },
         .initialValue = {.floatValues = {0.0f}}},
        {.config =
                 {
                         .prop = toInt(VehicleProperty::VEHICLE_SPEED_DISPLAY_UNITS),