Add meshtastic_Routing_Error_NO_CHANNEL

This commit is contained in:
Jonathan Bennett committed 2024-08-13 18:45:40 -05:00
1 parent f3fa8daedf
commit 80fd121d87
3 files changed
+22 -8

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ meshtastic_MeshPacket *MeshModule::allocAckNak(meshtastic_Routing_Error err, Nod
p->to = to;
p->decoded.request_id = idFrom;
p->channel = chIndex;
if (err != meshtastic_Routing_Error_NONE && err != meshtastic_Routing_Error_NONE_PKI)
if (err != meshtastic_Routing_Error_NONE)
LOG_WARN("Alloc an err=%d,to=0x%x,idFrom=0x%x,id=0x%x\n", err, to, idFrom, p->id);
return p;