multichannel send/rx kinda works

This commit is contained in:
Kevin Hester
2021-02-23 11:43:30 +08:00
parent ae6b7e7259
commit aa8b86c6b2
7 changed files with 20 additions and 19 deletions

View File

@@ -274,7 +274,7 @@ void RadioLibInterface::handleReceiveInterrupt()
mp->from = h->from;
mp->to = h->to;
mp->id = h->id;
mp->channel = h->id;
mp->channel = h->channel;
assert(HOP_MAX <= PACKET_FLAGS_HOP_MASK); // If hopmax changes, carefully check this code
mp->hop_limit = h->flags & PACKET_FLAGS_HOP_MASK;
mp->want_ack = !!(h->flags & PACKET_FLAGS_WANT_ACK_MASK);