pull/21750/head
ShaneSmiskol 4 years ago
parent 66e175a601
commit 996654942e
  1. 2
      selfdrive/common/params.cc
  2. 4
      selfdrive/ui/qt/offroad/settings.cc

@ -174,6 +174,7 @@ std::unordered_map<std::string, uint32_t> keys = {
{"GitRemote", PERSISTENT}, {"GitRemote", PERSISTENT},
{"GithubSshKeys", PERSISTENT}, {"GithubSshKeys", PERSISTENT},
{"GithubUsername", PERSISTENT}, {"GithubUsername", PERSISTENT},
{"GsmRoaming", PERSISTENT},
{"HardwareSerial", PERSISTENT}, {"HardwareSerial", PERSISTENT},
{"HasAcceptedTerms", PERSISTENT}, {"HasAcceptedTerms", PERSISTENT},
{"IsDriverViewEnabled", CLEAR_ON_MANAGER_START}, {"IsDriverViewEnabled", CLEAR_ON_MANAGER_START},
@ -203,7 +204,6 @@ std::unordered_map<std::string, uint32_t> keys = {
{"RecordFront", PERSISTENT}, {"RecordFront", PERSISTENT},
{"RecordFrontLock", PERSISTENT}, // for the internal fleet {"RecordFrontLock", PERSISTENT}, // for the internal fleet
{"ReleaseNotes", PERSISTENT}, {"ReleaseNotes", PERSISTENT},
{"GsmRoaming", PERSISTENT},
{"ShouldDoUpdate", CLEAR_ON_MANAGER_START}, {"ShouldDoUpdate", CLEAR_ON_MANAGER_START},
{"SubscriberInfo", PERSISTENT}, {"SubscriberInfo", PERSISTENT},
{"SshEnabled", PERSISTENT}, {"SshEnabled", PERSISTENT},

@ -63,8 +63,8 @@ TogglesPanel::TogglesPanel(QWidget *parent) : QWidget(parent) {
ParamControl *record_toggle = new ParamControl("RecordFront", ParamControl *record_toggle = new ParamControl("RecordFront",
"Record and Upload Driver Camera", "Record and Upload Driver Camera",
"Upload data from the driver facing camera and help improve the driver monitoring algorithm.", "Upload data from the driver facing camera and help improve the driver monitoring algorithm.",
"../assets/offroad/icon_monitoring.png", "../assets/offroad/icon_monitoring.png",
this); this);
toggles.append(record_toggle); toggles.append(record_toggle);
toggles.append(new ParamControl("EndToEndToggle", toggles.append(new ParamControl("EndToEndToggle",

Loading…
Cancel
Save