mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-28 23:34:03 +00:00
Fix outbound labels based to avoid creating delays
This commit is contained in:
parent
b8d33a3280
commit
0b96486e7e
@ -466,16 +466,7 @@ void drawTextMessageFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16
|
||||
// Final header line
|
||||
char headerStr[96];
|
||||
if (mine) {
|
||||
if (m.ackStatus == AckStatus::ACKED) {
|
||||
// Destination ACK
|
||||
snprintf(headerStr, sizeof(headerStr), "Sent %s %s", timeBuf, chanType);
|
||||
} else if (m.ackStatus == AckStatus::NACKED || m.ackStatus == AckStatus::TIMEOUT) {
|
||||
// Failure or timeout
|
||||
snprintf(headerStr, sizeof(headerStr), "Failed %s %s", timeBuf, chanType);
|
||||
} else if (m.ackStatus == AckStatus::RELAYED) {
|
||||
// Relay ACK
|
||||
snprintf(headerStr, sizeof(headerStr), "Relayed %s %s", timeBuf, chanType);
|
||||
}
|
||||
snprintf(headerStr, sizeof(headerStr), "%s %s", timeBuf, chanType);
|
||||
} else {
|
||||
snprintf(headerStr, sizeof(headerStr), "%s @%s %s", timeBuf, sender, chanType);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user