Skip to content

Commit

Permalink
add v3
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Apr 24, 2024
1 parent e092aeb commit 82358f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"ROG Ally RC71L_RC71L": 30,
"ROG Ally RC71L": 30,
"Jupiter": 20,
"V3": 45,
}
TDP_LIMIT_CONFIG_CPU = {
"7735HS": 65,
Expand Down
2 changes: 1 addition & 1 deletion backend/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def set_cpuTDP(self, value: int):
command_args = command.split()
logging.info(f"set_cpuTDP command: {command}")
logging.info(f"set_cpuTDP {value}")
process = subprocess.run(command_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
process = subprocess.run(command_args, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = process.stdout.decode('utf-8'), process.stderr.decode('utf-8')
logging.info(f"set_cpuTDP result:\n{stdout}")
if stderr:
Expand Down

0 comments on commit 82358f8

Please sign in to comment.