From 7079805486b77ea1584922470c1d53ae24013db9 Mon Sep 17 00:00:00 2001 From: technyon Date: Tue, 9 Jul 2024 17:26:58 +0200 Subject: [PATCH] fix type of lastReceivedBeaconTs --- src/NukiBle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NukiBle.h b/src/NukiBle.h index b5d243cc..0283c4da 100644 --- a/src/NukiBle.h +++ b/src/NukiBle.h @@ -407,7 +407,7 @@ class NukiBle : public BLEClientCallbacks, public BleScanner::Subscriber { uint16_t logEntryCount = 0; bool loggingEnabled = false; std::atomic_int rssi; - std::atomic_ulong lastReceivedBeaconTs; + std::atomic_long lastReceivedBeaconTs; std::list listOfKeyPadEntries; std::list listOfAuthorizationEntries; AuthorizationIdType authorizationIdType = AuthorizationIdType::Bridge;