Add Routing_Error_NONE
This commit is contained in:
1 parent
754db3f2bc
commit
308c0a6bb8
5 files changed
+20
-19
No files matched your search
@@ -253,7 +253,8 @@ void MeshService::sendToMesh(meshtastic_MeshPacket *p, RxSource src, bool ccToPh
|
||||
LOG_DEBUG("Can't send status to phone");
|
||||
}
|
||||
|
||||
if (res == ERRNO_OK && ccToPhone) { // Check if p is not released in case it couldn't be sent
|
||||
if ((res == ERRNO_OK || res == meshtastic_Routing_Error_NONE_PKI) &&
|
||||
ccToPhone) { // Check if p is not released in case it couldn't be sent
|
||||
sendToPhone(packetPool.allocCopy(*p));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user