Show last completed telemetry transmission age

This commit is contained in:
mikecarper committed 2026-10-23 15:12:42 -07:00
1 parent ea4b53ceee
commit 84cae8a774
8 files changed
+234 -4

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ static bool hasValidEncryptedPayloadLength(uint16_t payload_len, uint16_t clear_
return ((payload_len - overhead) % CIPHER_BLOCK_SIZE) == 0;
}
static bool isTelemetryHistoryPayload(const Packet* packet) {
bool Mesh::isTelemetryHistoryPayload(const Packet* packet) {
const uint8_t* data = packet->payload;
const uint16_t length = packet->payload_len;
if ((uint16_t)(length - 20U) > MAX_PACKET_PAYLOAD - 20U