mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 21:12:07 +08:00
thermald: match metered param to packet
old-commit-hash: 005a6e4f17d88473440607bb4aa9218e44e906b4
This commit is contained in:
@@ -447,7 +447,7 @@ def thermald_thread(end_event, hw_queue) -> None:
|
||||
except Exception:
|
||||
cloudlog.exception("failed to save offroad status")
|
||||
|
||||
params.put_bool_nonblocking("NetworkMetered", (msg.deviceState.networkType != NetworkType.wifi))
|
||||
params.put_bool_nonblocking("NetworkMetered", msg.deviceState.networkMetered)
|
||||
|
||||
count += 1
|
||||
should_start_prev = should_start
|
||||
|
||||
Reference in New Issue
Block a user