diff options
Diffstat (limited to 'api/direct_bt/BTDevice.hpp')
-rw-r--r-- | api/direct_bt/BTDevice.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/BTDevice.hpp b/api/direct_bt/BTDevice.hpp index 4239c92f..5dd4810d 100644 --- a/api/direct_bt/BTDevice.hpp +++ b/api/direct_bt/BTDevice.hpp @@ -100,8 +100,8 @@ namespace direct_bt { mutable std::recursive_mutex mtx_gattHandler; mutable std::recursive_mutex mtx_connect; mutable std::mutex mtx_data; - std::atomic<bool> isConnected; - std::atomic<bool> allowDisconnect; // allowDisconnect = isConnected || 'isConnectIssued' + jau::relaxed_atomic_bool isConnected; + jau::relaxed_atomic_bool allowDisconnect; // allowDisconnect = isConnected || 'isConnectIssued' jau::relaxed_atomic_int32 supervision_timeout; // [ms] struct PairingData { |