thermferm/panel.c

changeset 660
a28ef4d9afa4
parent 652
16d3d4b58b5b
child 724
01e3936f62d4
--- a/thermferm/panel.c	Wed Apr 03 19:33:38 2024 +0200
+++ b/thermferm/panel.c	Fri Apr 05 16:19:39 2024 +0200
@@ -46,7 +46,6 @@
 
 
 
-extern int		my_shutdown;
 extern int		debug;
 extern int		setupmenu;
 extern uint16_t		keys;
@@ -55,6 +54,7 @@
 extern pthread_mutex_t  mutexes[5];
 
 int			my_panel_state = 0;
+int			my_panel_shutdown = 0;
 int			Key_Enter = FALSE;
 int			Key_Enter_Long = FALSE;
 int			Key_Up = FALSE;
@@ -123,7 +123,7 @@
      * Loop forever until the external shutdown variable is set.
      */
     for (;;) {
-	if (my_shutdown)
+	if (my_panel_shutdown)
 	    break;
 
 #ifdef HAVE_WIRINGPI_H

mercurial