Logic Late-Fix to the last PR

pull/2393/head^2
Thomas Göttgens 2023-03-29 15:14:48 +02:00 zatwierdzone przez GitHub
rodzic 26d18244f0
commit 2edc35d34b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -173,9 +173,10 @@ ErrorCode Router::sendLocal(meshtastic_MeshPacket *p, RxSource src)
handleReceived(p, src);
}
if (p->channel) // don't override if a channel was requested
if (!p->channel) { // don't override if a channel was requested
p->channel = nodeDB.getNodeChannel(p->to);
LOG_DEBUG("localSend to channel %d\n", p->channel);
LOG_DEBUG("localSend to channel %d\n", p->channel);
}
return send(p);
}