Fixed UpdateDeviceTypes.

This commit is contained in:
stephb9959
2021-08-21 15:13:54 -07:00
parent 810d1a7da3
commit bb88dda603
3 changed files with 4 additions and 3 deletions

View File

@@ -74,8 +74,10 @@ namespace OpenWifi {
Poco::Thread::trySleep(DeviceTypes_.empty() ? 2000 : 60000);
if(!Running_)
break;
if(UpdateDeviceTypes())
if(UpdateDeviceTypes()) {
FirstRun = false;
Logger_.information("Updated existing DeviceType list from FMS.");
}
}
}