Merge branch 'devel-en' into devel-zhs

This commit is contained in:
dragonpilot
2019-09-26 16:51:01 +10:00
+3 -1
View File
@@ -359,7 +359,9 @@ def manager_thread():
cloudlog.info({"environ": os.environ})
# save boot log
subprocess.call(["./loggerd", "--bootlog"], cwd=os.path.join(BASEDIR, "selfdrive/loggerd"))
params = Params()
if params.get("DragonEnableLogger") == "1":
subprocess.call(["./loggerd", "--bootlog"], cwd=os.path.join(BASEDIR, "selfdrive/loggerd"))
params = Params()