threadsafe fixes
This commit is contained in:
@@ -60,7 +60,7 @@ STATIC_INITIALIZER_END
|
||||
|
||||
PRIVATE_DEFINITION_START(PIMQTT::Client)
|
||||
MQTTClient client = nullptr;
|
||||
bool connected = false;
|
||||
std::atomic<bool> connected{false};
|
||||
|
||||
PIProtectedVariable<EndpointsStorage> endpoints;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user