fix print no ble beacon received message

This commit is contained in:
technyon
2024-06-16 04:54:39 +02:00
parent 65a129cd3c
commit 4d4edaf126
2 changed files with 2 additions and 2 deletions

View File

@@ -180,7 +180,7 @@ void NukiWrapper::update()
(ts - lastReceivedBeaconTs > _restartBeaconTimeout * 1000))
{
Log->print("No BLE beacon received from the lock for ");
Log->print((millis() - lastReceivedBeaconTs) / 1000);
Log->print((ts - lastReceivedBeaconTs) / 1000);
Log->println(" seconds, restarting device.");
delay(200);
restartEsp(RestartReason::BLEBeaconWatchdog);