From 3f216164dabc58739747c6c1dcb24d70d8744f15 Mon Sep 17 00:00:00 2001
From: DTTerastar
Date: Fri, 22 Oct 2021 19:29:57 -0400
Subject: [PATCH] Misc
---
lib/BleFingerprint/GUI.cpp | 2 +-
src/main.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/BleFingerprint/GUI.cpp b/lib/BleFingerprint/GUI.cpp
index 691484b..b7f081e 100644
--- a/lib/BleFingerprint/GUI.cpp
+++ b/lib/BleFingerprint/GUI.cpp
@@ -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)
diff --git a/src/main.h b/src/main.h
index aceb0e6..2c428aa 100644
--- a/src/main.h
+++ b/src/main.h
@@ -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;
}