Log compile options on startup.

Wed, 27 Mar 2024 15:49:31 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 27 Mar 2024 15:49:31 +0100
changeset 651
da166cb8470f
parent 650
0b215e4b814e
child 652
16d3d4b58b5b

Log compile options on startup.

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Mon Mar 25 17:14:56 2024 +0100
+++ b/thermferm/thermferm.c	Wed Mar 27 15:49:31 2024 +0100
@@ -910,12 +910,17 @@
     }
 
 #ifdef HAVE_WIRINGPI_H
+    syslog(LOG_NOTICE, "Build with wiringPi");
     if (wiringPiSetup () ) {
 	syslog(LOG_NOTICE, "Error wiringPiSetup(): halted");
 	return 1;
     }
 #endif
 
+#ifdef USE_SIMULATOR
+    syslog(LOG_NOTICE, "Build with simulator");
+#endif
+
     if ((rc = initLCD (Config.lcd_cols, Config.lcd_rows))) {
 	fprintf(stderr, "Cannot initialize LCD display, rc=%d\n", rc);
 	return 1;

mercurial