Fixed compile issue on non-Pi systems

Wed, 01 Apr 2015 22:54:27 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 01 Apr 2015 22:54:27 +0200
changeset 354
5ff387f4d6b7
parent 353
7993cb2d4b92
child 355
8f946f9d125a

Fixed compile issue on non-Pi systems

thermferm/devices.c file | annotate | diff | comparison | revisions
--- a/thermferm/devices.c	Wed Apr 01 22:39:27 2015 +0200
+++ b/thermferm/devices.c	Wed Apr 01 22:54:27 2015 +0200
@@ -257,9 +257,9 @@
 {
     devices_list	*device;
     time_t		now, my_timestamp;
-    int			my_value, test_value;
+    int			rc, my_value, test_value;
 #ifdef HAVE_WIRINGPI_H
-    int			i, rc;
+    int			i;
     char		buf[40];
 #endif
 

mercurial