Update discovered state in DiscoveryManager

This commit is contained in:
Florian Märkl 2020-12-26 11:32:58 +01:00
commit 6fec401252
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857

View file

@ -183,6 +183,7 @@ void DiscoveryManager::DiscoveryCB(ChiakiDiscoveryHost * discovered_host)
CHIAKI_LOGI(this->log, "State: %s", chiaki_discovery_host_state_string(discovered_host->state));
host->state = discovered_host->state;
host->discovered = true;
// add host ptr to list
if(discovered_host->system_version && discovered_host->device_discovery_protocol_version)