bmsd/bms.c

changeset 384
442d23455ae4
parent 194
d202777ebae5
child 572
7a03181d29a3
--- a/bmsd/bms.c	Thu May 30 21:19:43 2019 +0200
+++ b/bmsd/bms.c	Thu May 30 23:00:20 2019 +0200
@@ -27,6 +27,7 @@
 #include "lock.h"
 #include "mqtt.h"
 #include "mysql.h"
+#include "nodes.h"
 
 
 int			my_shutdown = FALSE;
@@ -133,6 +134,7 @@
     while (my_shutdown == FALSE) {
 
 	usleep(100000);
+	nodes_check_online();
     }
     if (debug)
 	fprintf(stdout, "[main] Exit from main loop\n");

mercurial