thermferm/panel.c

changeset 724
01e3936f62d4
parent 660
a28ef4d9afa4
child 728
da038d0bed04
--- a/thermferm/panel.c	Sat May 04 13:49:36 2024 +0200
+++ b/thermferm/panel.c	Sat May 04 15:18:02 2024 +0200
@@ -107,6 +107,7 @@
 {
     int		Enter = 0, Up = 0, Down = 0, Backlight = LCD_SLEEP, AnyKey = FALSE;
     time_t	Last = (time_t)0, Now;
+    pid_t	pid = gettid();
 
     my_panel_state = 1;
 
@@ -117,7 +118,7 @@
     pinMode(PANEL_DOWN, INPUT);
 #endif
 
-    syslog(LOG_NOTICE, "Thread my_panel_loop started");
+    syslog(LOG_NOTICE, "Thread my_panel_loop started, pid=%d", pid);
 
     /*
      * Loop forever until the external shutdown variable is set.

mercurial