# HG changeset patch # User Michiel Broek # Date 1620847079 -7200 # Node ID 732d482f47c88750050d4c52101bf1dbe211deed # Parent 5563ee81570142c5eb504b4eb71792f4e7ebad03 Improved logging if wiringpi failed. diff -r 5563ee815701 -r 732d482f47c8 thermferm/thermferm.c --- a/thermferm/thermferm.c Sun Sep 27 17:08:27 2020 +0200 +++ b/thermferm/thermferm.c Wed May 12 21:17:59 2021 +0200 @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (C) 2014-2020 + * Copyright (C) 2014-2021 * * Michiel Broek * @@ -910,8 +910,10 @@ } #ifdef HAVE_WIRINGPI_H - if (wiringPiSetup () ) + if (wiringPiSetup () ) { + syslog(LOG_NOTICE, "Error wiringPiSetup(): halted"); return 1; + } #endif if ((rc = initLCD (Config.lcd_cols, Config.lcd_rows))) {