mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 01:52:48 +00:00
commit
962a3d0c55
@ -317,7 +317,13 @@ ErrorCode RadioLibInterface::send(MeshPacket *p)
|
|||||||
void RadioLibInterface::handleReceiveInterrupt()
|
void RadioLibInterface::handleReceiveInterrupt()
|
||||||
{
|
{
|
||||||
uint32_t xmitMsec;
|
uint32_t xmitMsec;
|
||||||
assert(isReceiving);
|
|
||||||
|
// when this is called, we should be in receive mode - if we are not, just jump out instead of bombing. Possible Race Condition?
|
||||||
|
if (!isReceiving) {
|
||||||
|
DEBUG_MSG("*** WAS_ASSERT *** handleReceiveInterrupt called when not in receive mode\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
isReceiving = false;
|
isReceiving = false;
|
||||||
|
|
||||||
// read the number of actually received bytes
|
// read the number of actually received bytes
|
||||||
|
Loading…
Reference in New Issue
Block a user