diff options
author | Pavel Maltsev <pavelm@google.com> | 2017-03-14 12:15:46 -0700 |
---|---|---|
committer | Pavel Maltsev <pavelm@google.com> | 2017-03-14 12:15:46 -0700 |
commit | 3fc25be7451975d248dbee0f2ea6096a24b436a9 (patch) | |
tree | d5d85f88920c5eeea1cbc3abe1924fe697623268 /automotive | |
parent | fb6617935ae00039351adf1a1d694d5a4f912b10 (diff) | |
download | platform_hardware_interfaces-3fc25be7451975d248dbee0f2ea6096a24b436a9.tar.gz platform_hardware_interfaces-3fc25be7451975d248dbee0f2ea6096a24b436a9.tar.bz2 platform_hardware_interfaces-3fc25be7451975d248dbee0f2ea6096a24b436a9.zip |
Fix config map in default Vehicle HAL impl
Test: tested through VTS
Change-Id: Ibcf607d0ad5cc39291b0d8a159ca3ad849bea8ce
Diffstat (limited to 'automotive')
-rw-r--r-- | automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.h b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.h index 2efe05c643..bbbe9551e1 100644 --- a/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.h +++ b/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultVehicleHal.h @@ -47,7 +47,7 @@ public: DefaultVehicleHal() : mRecurrentTimer( std::bind(&DefaultVehicleHal::onContinuousPropertyTimer, this, std::placeholders::_1)) { for (size_t i = 0; i < arraysize(kVehicleProperties); i++) { - mPropConfigMap[kVehicleProperties->prop] = &kVehicleProperties[i]; + mPropConfigMap[kVehicleProperties[i].prop] = &kVehicleProperties[i]; } } |