pull/21750/head
ShaneSmiskol 4 years ago
parent 5a45844373
commit 94e8816e46
  1. 1
      launch_chffrplus.sh
  2. 7
      selfdrive/thermald/thermald.py
  3. 4
      selfdrive/ui/qt/offroad/settings.cc

@ -101,7 +101,6 @@ function tici_init {
sudo su -c 'echo "performance" > /sys/class/devfreq/soc:qcom,memlat-cpu0/governor'
sudo su -c 'echo "performance" > /sys/class/devfreq/soc:qcom,memlat-cpu4/governor'
nmcli connection modify --temporary lte gsm.auto-config yes
nmcli connection modify --temporary lte gsm.home-only yes
# set success flag for current boot slot
sudo abctl --set_success

@ -259,12 +259,11 @@ def thermald_thread():
cloudlog.exception("Error getting network status")
try:
gsm_roaming = params.get("GsmRoaming")
gsm_roaming = params.get_bool("GsmRoaming")
if gsm_roaming != last_gsm_roaming:
last_gsm_roaming = gsm_roaming
roam = "yes" if gsm_roaming else "no"
print(f"Setting roaming: {roam}")
os.system(f"nmcli connection modify --temporary lte gsm.home-only {roam}")
home_only = "no" if gsm_roaming else "yes"
os.system(f"nmcli connection modify --temporary lte gsm.home-only {home_only}")
except Exception:
cloudlog.exception("Error setting roaming")

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

Loading…
Cancel
Save