# HG changeset patch # User Michiel Broek # Date 1711550971 -3600 # Node ID da166cb8470f3a060d36b5f9b94e17545096d32d # Parent 0b215e4b814e356d6f103b035f73d2e72d138963 Log compile options on startup. diff -r 0b215e4b814e -r da166cb8470f thermferm/thermferm.c --- 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;