Revert "Add Routing_Error_NONE"

This reverts commit e1985fa0f90db0cbc346db18cecbf3604f6973c1.
This commit is contained in:
Jonathan Bennett committed 2024-08-13 18:45:40 -05:00
1 parent bcd77c4523
commit f3fa8daedf
5 files changed
+19 -20

No files matched your search

+1 -2
View File
@@ -253,8 +253,7 @@ void MeshService::sendToMesh(meshtastic_MeshPacket *p, RxSource src, bool ccToPh
LOG_DEBUG("Can't send status to phone");
}
if ((res == ERRNO_OK || res == meshtastic_Routing_Error_NONE_PKI) &&
ccToPhone) { // Check if p is not released in case it couldn't be sent
if (res == ERRNO_OK && ccToPhone) { // Check if p is not released in case it couldn't be sent
sendToPhone(packetPool.allocCopy(*p));
}
}