mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 06:06:23 +01:00
tiny bugfixes
This commit is contained in:
@@ -373,6 +373,8 @@ void init_web() {
|
||||
|
||||
const uint8_t *payload = reinterpret_cast<const uint8_t *>(&flashData);
|
||||
sendTagCommand(mac, CMD_DO_LEDFLASH, !taginfo->isExternal, payload);
|
||||
request->send(200, "text/plain", "ok, request transmitted");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,7 +193,7 @@ function processTags(tagArray) {
|
||||
statusline = "AP";
|
||||
}
|
||||
if (element.batteryMv != 0 && element.batteryMv != 1337) {
|
||||
statusline += ", " + (element.batteryMv >= 2600 ? "≥" : "") + (element.batteryMv / 1000) + "V";
|
||||
statusline += ", " + (element.batteryMv == 2600 ? "≥" : "") + (element.batteryMv / 1000) + "V";
|
||||
}
|
||||
if (element.ver != 0 && element.ver != 1) {
|
||||
$('#tag' + tagmac + ' .received').title = `fw: ${element.ver}`;
|
||||
|
||||
Reference in New Issue
Block a user