Update accel setting name from power_break to power_brake
Change-Id: I09465b488eac355c1e1ae847fe350a82e7ad4729
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com>
diff --git a/README.md b/README.md
index ac34947..39c8866 100644
--- a/README.md
+++ b/README.md
@@ -461,7 +461,7 @@
Get the accel's VR setting value for the given chip and settings ID
-Currently 3 settings are supported. [0] IdleMode [1] PowerBreak [2] Loadline
+Currently 3 settings are supported. [0] IdleMode [1] PowerBrake [2] Loadline
On success, the response contains 2 bytes containing the setting value.
@@ -486,7 +486,7 @@
Update the VR settings of a given accel device for a specific settings id.
-Currently 3 settings are supported. [0] IdleMode [1] PowerBreak [2] Loadline
+Currently 3 settings are supported. [0] IdleMode [1] PowerBrake [2] Loadline
The settings value parameter is a 2 byte value and is expected in little endian
format
diff --git a/handler_impl.hpp b/handler_impl.hpp
index fe12728..b1f48bc 100644
--- a/handler_impl.hpp
+++ b/handler_impl.hpp
@@ -107,7 +107,7 @@
{0x20, "memory_device"}};
const std::unordered_map<uint8_t, std::string> _vrSettingsMap{
- {0, "idle_mode_"}, {1, "power_break_"}, {2, "loadline_"}};
+ {0, "idle_mode_"}, {1, "power_brake_"}, {2, "loadline_"}};
nlohmann::json _entityConfig{};