Disable uploading while onroad
Added toggle to disable uploading to connect.comma.ai while driving and without a WiFi connection to prevent large amounts of data usage.
This commit is contained in:
2
selfdrive/manager/manager.py
Executable file → Normal file
2
selfdrive/manager/manager.py
Executable file → Normal file
@@ -334,7 +334,7 @@ def manager_cleanup() -> None:
|
||||
|
||||
|
||||
def update_frogpilot_params(params, params_memory):
|
||||
keys = []
|
||||
keys = ["DisableOnroadUploads"]
|
||||
for key in keys:
|
||||
params_memory.put_bool(key, params.get_bool(key))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user