minor doc cleanups

pull/78/head
geeksville 2020-04-05 13:58:38 -07:00
rodzic 05a0266fc4
commit 13ac686c96
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -97,7 +97,7 @@ MeshPacket *MeshService::handleFromRadioUser(MeshPacket *mp)
if (weWin) { if (weWin) {
DEBUG_MSG("NOTE! Received a nodenum collision and we are vetoing\n"); DEBUG_MSG("NOTE! Received a nodenum collision and we are vetoing\n");
packetPool.release(mp); // discard it releaseToPool(mp); // discard it
mp = NULL; mp = NULL;
sendOurOwner(); // send our owner as a _broadcast_ because that other guy is mistakenly using our nodenum sendOurOwner(); // send our owner as a _broadcast_ because that other guy is mistakenly using our nodenum
@ -178,8 +178,9 @@ void MeshService::handleFromRadio(MeshPacket *mp)
if (mp->payload.want_response) if (mp->payload.want_response)
sendNetworkPing(mp->from); sendNetworkPing(mp->from);
} else } else {
DEBUG_MSG("Dropping vetoed User message\n"); DEBUG_MSG("Not delivering vetoed User message\n");
}
} }
void MeshService::handleFromRadio() void MeshService::handleFromRadio()

Wyświetl plik

@ -83,7 +83,7 @@ class MeshService : private Observer
/// handle all the packets that just arrived from the mesh radio /// handle all the packets that just arrived from the mesh radio
void handleFromRadio(); void handleFromRadio();
/// Handle a packet that just arrived from the radio /// Handle a packet that just arrived from the radio. We will either eventually enqueue the message to the phone or return it to the free pool
void handleFromRadio(MeshPacket *p); void handleFromRadio(MeshPacket *p);
/// handle a user packet that just arrived on the radio, return NULL if we should not process this packet at all /// handle a user packet that just arrived on the radio, return NULL if we should not process this packet at all