Skip to content

Commit

Permalink
Disable Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
firestar5683 committed Sep 17, 2024
1 parent 6bbe5a0 commit a4eb9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/manager/process_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def only_offroad(started, params, CP: car.CarParams) -> bool:
# FrogPilot functions
def allow_logging(started, params, CP: car.CarParams) -> bool:
allow_logging = not (params.get_bool("DeviceManagement") and params.get_bool("NoLogging"))
return allow_logging and logging(started, params, CP)
return False

def allow_uploads(started, params, CP: car.CarParams) -> bool:
allow_uploads = not (params.get_bool("DeviceManagement") and params.get_bool("NoUploads") and not params.get_bool("DisableOnroadUploads"))
Expand Down

0 comments on commit a4eb9a0

Please sign in to comment.