thermferm/devices.c

changeset 724
01e3936f62d4
parent 716
5c30c8ef83a8
child 729
f5d94730db18
equal deleted inserted replaced
723:99e3e6971f97 724:01e3936f62d4
849 simulator_list *simulator; 849 simulator_list *simulator;
850 #endif 850 #endif
851 int found; 851 int found;
852 time_t now; 852 time_t now;
853 bool changed; 853 bool changed;
854 pid_t pid = gettid();
854 855
855 my_devices_state = 1; 856 my_devices_state = 1;
856 syslog(LOG_NOTICE, "Thread my_devices_loop started"); 857 syslog(LOG_NOTICE, "Thread my_devices_loop started, pid=%d", pid);
857 dht11_next = time(NULL); 858 dht11_next = time(NULL);
858 859
859 /* 860 /*
860 * Loop forever until the external shutdown variable is set. 861 * Loop forever until the external shutdown variable is set.
861 */ 862 */

mercurial