log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)

old-commit-hash: b88aa6b57f
commatwo_master
George Hotz 4 years ago committed by GitHub
parent ac03b730a4
commit 26c0d9dd24
  1. 1
      selfdrive/thermald/thermald.py

@ -174,6 +174,7 @@ def thermald_thread():
if EON:
base_path = "/sys/kernel/debug/cpr3-regulator/"
cpr_files = [p for p in Path(base_path).glob("**/*") if p.is_file()]
cpr_files = ["/sys/kernel/debug/regulator/pm8994_s11/voltage"] + cpr_files
cpr_data = {}
for cf in cpr_files:
with open(cf, "r") as f:

Loading…
Cancel
Save