aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp.h
diff options
context:
space:
mode:
authorPA4WDH2024-07-28 14:45:59 +0200
committerPA4WDH2024-07-28 14:45:59 +0200
commit36162d6931aaaf56c60c2e1c77cd3cdc2eba8363 (patch)
tree6bb22ce09315d14a5b7fb4ba2e5178d1b5dd9450 /cputemp.h
parentFLush after writes to CSV file (diff)
downloadcputemp2maxfreq-36162d6931aaaf56c60c2e1c77cd3cdc2eba8363.tar.gz
cputemp2maxfreq-36162d6931aaaf56c60c2e1c77cd3cdc2eba8363.tar.bz2
cputemp2maxfreq-36162d6931aaaf56c60c2e1c77cd3cdc2eba8363.zip
Add autodetection for temperature input
Diffstat (limited to 'cputemp.h')
-rw-r--r--cputemp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cputemp.h b/cputemp.h
new file mode 100644
index 0000000..8cd39d5
--- /dev/null
+++ b/cputemp.h
@@ -0,0 +1,12 @@
+#ifndef HAVE_CPUTEMP_H
+#define HAVE_CPUTEMP_H
+
+struct s_sensor {
+ char name[255];
+ char filename[255];
+ char valid;
+};
+
+void cputemp_find_sensor(char *sensor_name,struct s_sensor *sensor);
+
+#endif