Force sync when USER_NEW trigger is done.
This commit is contained in:
parent
1dfc22858a
commit
3ad8317df7
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue