mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 02:02:23 +00:00
fix serious nak bug reported by @havealoha and @luxoon
This commit is contained in:
@@ -36,6 +36,7 @@ MeshPacket *MeshPlugin::allocAckNak(Routing_Error err, NodeNum to, PacketId idFr
|
|||||||
Routing c = Routing_init_default;
|
Routing c = Routing_init_default;
|
||||||
|
|
||||||
c.error_reason = err;
|
c.error_reason = err;
|
||||||
|
c.which_variant = Routing_error_reason_tag;
|
||||||
|
|
||||||
// Now that we have moded sendAckNak up one level into the class heirarchy we can no longer assume we are a RoutingPlugin
|
// Now that we have moded sendAckNak up one level into the class heirarchy we can no longer assume we are a RoutingPlugin
|
||||||
// So we manually call pb_encode_to_bytes and specify routing port number
|
// So we manually call pb_encode_to_bytes and specify routing port number
|
||||||
|
|||||||
Reference in New Issue
Block a user