Release no-LoRa packet after sending to phone (#5254)

This commit is contained in:
GUVWAF
2024-11-04 21:13:54 +01:00
committed by GitHub
parent f3b698905d
commit 7ba6d97e99
4 changed files with 22 additions and 12 deletions

View File

@@ -16,6 +16,7 @@ typedef uint32_t PacketId; // A packet sequence number
#define ERRNO_NO_INTERFACES 33
#define ERRNO_UNKNOWN 32 // pick something that doesn't conflict with RH_ROUTER_ERROR_UNABLE_TO_DELIVER
#define ERRNO_DISABLED 34 // the interface is disabled
#define ERRNO_SHOULD_RELEASE 35 // no error, but the packet should still be released
#define ID_COUNTER_MASK (UINT32_MAX >> 22) // mask to select the counter portion of the ID
/*