Remove comments

This commit is contained in:
Ben Meadors 2023-01-28 08:18:47 -06:00
parent 654d38ed3f
commit a5f80167e0

View File

@ -12,9 +12,8 @@ bool RepeaterModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, mes
printPacket("Repeater observed message", &mp); printPacket("Repeater observed message", &mp);
router->sniffReceived(&mp, r); router->sniffReceived(&mp, r);
// FIXME - move this to a non promsicious PhoneAPI module? if ((mp.to == NODENUM_BROADCAST || mp.to == nodeDB.getNodeNum()) && (mp.from != 0))
// Note: we are careful not to send back packets that started with the phone back to the phone {
if ((mp.to == NODENUM_BROADCAST || mp.to == nodeDB.getNodeNum()) && (mp.from != 0)) {
printPacket("Delivering rx packet", &mp); printPacket("Delivering rx packet", &mp);
service.handleFromRadio(&mp); service.handleFromRadio(&mp);
} }