From 3ad8317df78778db79e11d03a7c224673e7e2c95 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Wed, 18 May 2016 17:03:26 +0200 Subject: [PATCH] Force sync when USER_NEW trigger is done. --- src/output/output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output/output.cpp b/src/output/output.cpp index 9175bf42..fabb320a 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -150,6 +150,7 @@ namespace Mist { //sync byte 0 = no sync yet, wait for sync from controller... IPC::statExchange tmpEx(statsPage.getData()); unsigned int i = 0; + tmpEx.setSync(0); while (!tmpEx.getSync() && i++ < 30){ Util::wait(100); stats();