Wed, 27 Mar 2024 15:49:31 +0100
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;