From 16fb812a46d0e8cde432b58f7dbf6fce147eb89f Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Wed, 24 May 2023 12:57:25 +0200 Subject: Add CSV logging --- cputemp2maxfreq.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cputemp2maxfreq.h') diff --git a/cputemp2maxfreq.h b/cputemp2maxfreq.h index 6eb5726..984fabc 100644 --- a/cputemp2maxfreq.h +++ b/cputemp2maxfreq.h @@ -36,6 +36,9 @@ struct s_config { char logger_name[10]; // Name of the logging function void (*logger)(char *,...); // Pointer to the logging function char log_data; // Option to log measurement data + char csvlog[255]; // CSV logfile + char csvoverwrite; // Overwrite CSV file if it already exists + FILE *csvfile; // File handle for CSV file }; #endif -- cgit v1.2.3