treat RECEIVED_PACKET like PACKET_FOR_PHONE

This commit is contained in:
Kevin Hester
2021-08-02 22:07:39 -07:00
parent 28af18389b
commit 057b04a88a
3 changed files with 7 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ void MeshService::init()
int MeshService::handleFromRadio(const MeshPacket *mp)
{
powerFSM.trigger(EVENT_RECEIVED_PACKET); // Possibly keep the node from sleeping
powerFSM.trigger(EVENT_PACKET_FOR_PHONE); // Possibly keep the node from sleeping
printPacket("Forwarding to phone", mp);
nodeDB.updateFrom(*mp); // update our DB state based off sniffing every RX packet from the radio