fix config portal

This commit is contained in:
technyon
2022-06-01 20:42:33 +02:00
parent 1ce8eb6603
commit d58f4b6b1d
5 changed files with 57 additions and 48 deletions

View File

@@ -73,8 +73,6 @@ void NukiWrapper::update()
if (!_paired) {
Serial.println(F("Nuki start pairing"));
_bleScanner->update();
vTaskDelay( 5000 / portTICK_PERIOD_MS);
if (_nukiBle.pairNuki() == Nuki::PairingResult::Success) {
Serial.println(F("Nuki paired"));
_paired = true;