This commit is contained in:
DTTerastar 2021-10-22 19:29:57 -04:00
parent 2752f5d80b
commit 3f216164da
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ void GUI::added(BleFingerprint *f)
void GUI::removed(BleFingerprint *f, long age)
{
if (f->getIgnore()) return;
Serial.printf("\u001b[31m%d Del | MAC: %s, ID: %-60s (%lus)\u001b[0m\n", xPortGetCoreID(), f->getMac().c_str(), f->getId().c_str(), age / 1000);
Serial.printf("\u001b[31m%d Del | MAC: %s, ID: %-60s %s\u001b[0m\n", xPortGetCoreID(), f->getMac().c_str(), f->getId().c_str(), f->getDiscriminator().c_str());
}
void GUI::close(BleFingerprint *f)

View File

@ -245,15 +245,15 @@ void firmwareUpdate()
switch (ret)
{
case HTTP_UPDATE_FAILED:
log_e("Http Update Failed (Error=%d): %s", httpUpdate.getLastError(), httpUpdate.getLastErrorString().c_str());
Serial.printf("Http Update Failed (Error=%d): %s\n", httpUpdate.getLastError(), httpUpdate.getLastErrorString().c_str());
break;
case HTTP_UPDATE_NO_UPDATES:
log_i("No Update!");
Serial.printf("No Update!\n");
break;
case HTTP_UPDATE_OK:
log_w("Update OK!");
Serial.printf("Update OK!\n");
break;
}