diff --git a/apk/ai.comma.plus.frame.apk b/apk/ai.comma.plus.frame.apk index cde87a72e..b756a6233 100644 Binary files a/apk/ai.comma.plus.frame.apk and b/apk/ai.comma.plus.frame.apk differ diff --git a/apk/ai.comma.plus.offroad.apk b/apk/ai.comma.plus.offroad.apk index aa6c42f05..540a51b46 100644 Binary files a/apk/ai.comma.plus.offroad.apk and b/apk/ai.comma.plus.offroad.apk differ diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 3d5ec9119..247cb96af 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -24,6 +24,8 @@ function launch { # # exec "${BASH_SOURCE[0]}" # fi + chmod 700 reset_update.sh + chmod 700 bs # no cpu rationing for now echo 0-3 > /dev/cpuset/background/cpus diff --git a/reset_update.sh b/reset_update.sh new file mode 100755 index 000000000..3b8412999 --- /dev/null +++ b/reset_update.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash +#cd /data/openpilot && git reset --hard && git pull && reboot +cd /data/openpilot && git status \ No newline at end of file diff --git a/selfdrive/thermald.py b/selfdrive/thermald.py index a16dcb37c..ccea40d3d 100755 --- a/selfdrive/thermald.py +++ b/selfdrive/thermald.py @@ -324,7 +324,7 @@ def thermald_thread(): ts = sec_since_boot() # update variable status every 10 secs if ts - ts_last_update_vars > 10.: - dragon_charging_ctrl = True if params.get('DragonChargingCtrl') == "1" else False + dragon_charging_ctrl = True if params.get('DragonChargingCtrl', encoding='utf8') == "1" else False dragon_charging_max = int(params.get('DragonCharging')) dragon_discharging_min = int(params.get('DragonDisCharging')) ts_last_update_vars = ts