aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
authorPA4WDH2024-10-09 12:18:23 +0200
committerPA4WDH2024-10-09 12:18:23 +0200
commit9586b59606edcf3538428c16680a2a6eb2d7969d (patch)
treed425b3eb3b3fbd6996c1a0a645ba91498d0e4d50 /logger.c
parentRead scaling_max_freq every poll interval (diff)
downloadcputemp2maxfreq-9afa6eef0608cedc5cd1c4db159bab9edfd32637.tar.gz
cputemp2maxfreq-9afa6eef0608cedc5cd1c4db159bab9edfd32637.tar.bz2
cputemp2maxfreq-9afa6eef0608cedc5cd1c4db159bab9edfd32637.zip
Rename config.max_freq to config.target_freq and make texts consistent with that0.7
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index 61b2c1e..ecb6598 100644
--- a/logger.c
+++ b/logger.c
@@ -152,7 +152,7 @@ void csvlog_write()
snprintf(timestring,sizeof(timestring),"%ld",unixtime);
}
- fprintf(config.csvfile,"%s,\"%ld\",\"%ld\",\"%ld\",\"%ld\",\"%ld\",\"%ld\"\n",timestring,cpudata.min_freq,cpudata.max_freq,cpudata.cur_freq,cpudata.cur_temp/1000,config.max_temp/1000,cpudata.scale_max);
+ fprintf(config.csvfile,"%s,\"%ld\",\"%ld\",\"%ld\",\"%ld\",\"%ld\",\"%ld\"\n",timestring,cpudata.min_freq,cpudata.max_freq,cpudata.cur_freq,cpudata.cur_temp/1000,config.target_temp/1000,cpudata.scale_max);
fflush(config.csvfile);
}