mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-09 15:02:05 +08:00
log /sys/kernel/debug/regulator/pm8994_s11/voltage (#20727)
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