fingers crossed

This commit is contained in:
Thomas Göttgens committed 2023-01-07 15:24:46 +01:00
1 parent 8465467aa8
commit d8b85f9a09
6 files changed
+25 -17

No files matched your search

+6 -1
View File
@@ -230,7 +230,12 @@ void SimRadio::handleReceiveInterrupt(MeshPacket *p)
{
LOG_DEBUG("HANDLE RECEIVE INTERRUPT\n");
uint32_t xmitMsec;
assert(isReceiving);
if (!isReceiving) {
LOG_DEBUG("*** WAS_ASSERT *** handleReceiveInterrupt called when not in receive mode\n");
return;
}
isReceiving = false;
// read the number of actually received bytes