bmsd/bms.c

branch
stable
changeset 387
541503502b1b
parent 384
442d23455ae4
child 572
7a03181d29a3
--- a/bmsd/bms.c	Sun May 26 20:45:01 2019 +0200
+++ b/bmsd/bms.c	Thu May 30 23:18:48 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