mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-14 22:02:09 +08:00
log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)
old-commit-hash: b88aa6b57f635f2c0cd615b8b8e6b1999f5db092
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user