update for RX_SRC_USER

1.2-legacy
a-f-G-U-C 2021-10-28 11:33:32 +00:00 zatwierdzone przez GitHub
rodzic 646d1caf66
commit d4ea18851d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -334,9 +334,11 @@ void Router::handleReceived(MeshPacket *p, RxSource src)
if (decoded) {
// parsing was successful, queue for our recipient
if (src == RX_SRC_LOCAL)
printPacket("handleReceived(local)", p);
printPacket("handleReceived(LOCAL)", p);
else if (src == RX_SRC_USER)
printPacket("handleReceived(USER)", p);
else
printPacket("handleReceived(remote)", p);
printPacket("handleReceived(REMOTE)", p);
} else {
printPacket("packet decoding failed (no PSK?)", p);
}