clean up + warning and crasher fixes

This commit is contained in:
Shaun Inman 2023-03-20 19:39:51 -04:00
parent c61d6bb04c
commit 7882f9b9dd
6 changed files with 35 additions and 28 deletions

View file

@ -99,10 +99,8 @@ int main(int argc, char* argv[]) {
struct cpu_opp* cpu = &cpu_opps[i];
if (clk>=cpu->clk) {
setcpu( cpu->clk, cpu->volt );
// TODO: this doesn't work...
char cmd[128];
sprintf(cmd, "echo %i > /tmp/cpu_freq\n", cpu->clk);
puts(cmd);
system(cmd);
break;
}