Fixed compile for LCD display

Wed, 01 Aug 2018 22:27:58 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 01 Aug 2018 22:27:58 +0200
changeset 556
c2ee7f9a069e
parent 555
c6f04bfcec2c
child 557
ae17042a6d39

Fixed compile for LCD display

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.c	Tue Jul 31 23:04:35 2018 +0200
+++ b/thermferm/thermferm.c	Wed Aug 01 22:27:58 2018 +0200
@@ -184,7 +184,7 @@
 #ifdef HAVE_WIRINGPI_H
 				lcdPuts(lcdHandle, "Choose unit:");
 				lcdPosition(lcdHandle, 0, 1);
-				lcdPuts(lcdHandle, current_unit->name);
+				lcdPuts(lcdHandle, current_unit->alias);
 #endif
 				slcdPuts(slcdHandle, "Choose unit:");
 				slcdPosition(slcdHandle, 0, 1);

mercurial