From a13b6a07822e9807af50bd67bfe64ccba03b5b00 Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Sat, 24 Aug 2024 12:43:34 +0200 Subject: Add -k option to keep state on successul exit --- cputemp2maxfreq.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cputemp2maxfreq.h') diff --git a/cputemp2maxfreq.h b/cputemp2maxfreq.h index ade4d58..a901e6d 100644 --- a/cputemp2maxfreq.h +++ b/cputemp2maxfreq.h @@ -46,6 +46,7 @@ struct s_config { FILE *csvfile; // File handle for CSV file char use_unixtime; // Use unixtime timestamps in logs and CSV long int transition_latency; // User configurable transition latency, <0 for autodetect + int keepstate; // Keep last state on exit (0=set lowest freq) }; #endif -- cgit v1.2.3