mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 10:42:08 +00:00
fix #505 allow forced standby mode to not assert fail
This commit is contained in:
parent
04942a3570
commit
47bbde3c60
@ -236,9 +236,10 @@ void RadioLibInterface::startTransmitTimer(bool withDelay)
|
|||||||
void RadioLibInterface::handleTransmitInterrupt()
|
void RadioLibInterface::handleTransmitInterrupt()
|
||||||
{
|
{
|
||||||
// DEBUG_MSG("handling lora TX interrupt\n");
|
// DEBUG_MSG("handling lora TX interrupt\n");
|
||||||
assert(sendingPacket); // Were we sending? - FIXME, this was null coming out of light sleep due to RF95 ISR!
|
// This can be null if we forced the device to enter standby mode. In that case
|
||||||
|
// ignore the transmit interrupt
|
||||||
completeSending();
|
if(sendingPacket)
|
||||||
|
completeSending();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RadioLibInterface::completeSending()
|
void RadioLibInterface::completeSending()
|
||||||
|
Loading…
Reference in New Issue
Block a user