fix print no ble beacon received message
This commit is contained in:
@@ -180,7 +180,7 @@ void NukiWrapper::update()
|
||||
(ts - lastReceivedBeaconTs > _restartBeaconTimeout * 1000))
|
||||
{
|
||||
Log->print("No BLE beacon received from the lock for ");
|
||||
Log->print((millis() - _nukiLock.getLastReceivedBeaconTs()) / 1000);
|
||||
Log->print((millis() - lastReceivedBeaconTs) / 1000);
|
||||
Log->println(" seconds, restarting device.");
|
||||
delay(200);
|
||||
restartEsp(RestartReason::BLEBeaconWatchdog);
|
||||
|
||||
Reference in New Issue
Block a user