This commit is contained in:
2026-03-11 01:40:50 -04:00
parent 894a8131d4
commit 7b34cf468b
4 changed files with 7 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ class Module {
uint8_t m_device_id;
ModuleType m_module_type;
Messaging::ConnectionType m_connection_type;
uint8_t m_leader;
std::atomic<uint8_t> m_leader{0};
std::chrono::time_point<std::chrono::system_clock> m_last_updated;
std::vector<neighbour> m_neighbours;
std::shared_ptr<MessagingInterface> m_messaging_interface;