CPR3 logging only on C2

old-commit-hash: 611446edd4
commatwo_master
Willem Melching 4 years ago
parent 95453b3349
commit cd4b0b7e7a
  1. 1
      selfdrive/thermald/thermald.py

@ -193,6 +193,7 @@ def thermald_thread():
thermal_config = HARDWARE.get_thermal_config()
# CPR3 logging
if EON:
base_path = "/sys/kernel/debug/cpr3-regulator/"
cpr_files = [p for p in Path(base_path).glob("**/*") if p.is_file()]
cpr_data = {}

Loading…
Cancel
Save