Misc
This commit is contained in:
parent
2752f5d80b
commit
3f216164da
|
@ -65,7 +65,7 @@ void GUI::added(BleFingerprint *f)
|
||||||
void GUI::removed(BleFingerprint *f, long age)
|
void GUI::removed(BleFingerprint *f, long age)
|
||||||
{
|
{
|
||||||
if (f->getIgnore()) return;
|
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)
|
void GUI::close(BleFingerprint *f)
|
||||||
|
|
|
@ -245,15 +245,15 @@ void firmwareUpdate()
|
||||||
switch (ret)
|
switch (ret)
|
||||||
{
|
{
|
||||||
case HTTP_UPDATE_FAILED:
|
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;
|
break;
|
||||||
|
|
||||||
case HTTP_UPDATE_NO_UPDATES:
|
case HTTP_UPDATE_NO_UPDATES:
|
||||||
log_i("No Update!");
|
Serial.printf("No Update!\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case HTTP_UPDATE_OK:
|
case HTTP_UPDATE_OK:
|
||||||
log_w("Update OK!");
|
Serial.printf("Update OK!\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue