mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Fix mDNS integration with rmt
This commit is contained in:
@@ -95,7 +95,9 @@ void CommunicationRouter::update_leader() {
|
||||
|
||||
this->m_leader = max;
|
||||
|
||||
mDNSDiscoveryService::set_connected_boards(connected_module_ids);
|
||||
if (this->m_leader == m_module_id) {
|
||||
mDNSDiscoveryService::set_connected_boards(connected_module_ids);
|
||||
}
|
||||
|
||||
this->m_last_leader_updated = std::chrono::system_clock::now();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user