summaryrefslogtreecommitdiff
path: root/src/drivers/nvs.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2025-08-15 15:01:22 +1000
committerjacqueline <me@jacqueline.id.au>2025-08-15 15:01:22 +1000
commit30e15bba7653a63b9d158008defcece552169db6 (patch)
tree88b95194e786bbcec1ee571f5ca83596495d1a4a /src/drivers/nvs.cpp
parentd470f7046dd1a3e4c184365d782e0cf20e474ad4 (diff)
downloadtangara-fw-30e15bba7653a63b9d158008defcece552169db6.tar.gz
Fix default mode being the new one
Diffstat (limited to 'src/drivers/nvs.cpp')
-rw-r--r--src/drivers/nvs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/nvs.cpp b/src/drivers/nvs.cpp
index d02c80e2..3d3ec08e 100644
--- a/src/drivers/nvs.cpp
+++ b/src/drivers/nvs.cpp
@@ -621,7 +621,7 @@ auto NvsStorage::AmpLeftBias(int_fast8_t val) -> void {
auto NvsStorage::WheelInput() -> WheelInputModes {
std::lock_guard<std::mutex> lock{mutex_};
- switch (wheel_input_mode_.get().value_or(3)) {
+ switch (wheel_input_mode_.get().value_or(2)) {
case static_cast<uint8_t>(WheelInputModes::kDisabled):
return WheelInputModes::kDisabled;
case static_cast<uint8_t>(WheelInputModes::kDirectionalWheel):