offroad ui: support storing confirmation of a toggle (#26510)

* show confirmation toggle on first toggle of experimental mode

* don't store confirmation if users toggle off *after* this PR

* refactor

* cleaner

* not true

* try here
old-commit-hash: 2ad9a4f95a82bf922c86b373026c0e96f9971a80
This commit is contained in:
Shane Smiskol
2022-11-15 16:44:03 -08:00
committed by GitHub
parent bc00819b3f
commit 74aa9e5b80
3 changed files with 17 additions and 14 deletions
+1
View File
@@ -103,6 +103,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"DisableLogging", CLEAR_ON_MANAGER_START | CLEAR_ON_IGNITION_ON},
{"DisablePowerDown", PERSISTENT},
{"ExperimentalMode", PERSISTENT},
{"ExperimentalModeConfirmed", PERSISTENT},
{"ExperimentalLongitudinalEnabled", PERSISTENT}, // WARNING: THIS MAY DISABLE AEB
{"DisableUpdates", PERSISTENT},
{"DisengageOnAccelerator", PERSISTENT},