very important: don't allow immediate sends if we have pending ISRs

This commit is contained in:
geeksville
2020-05-01 08:32:16 -07:00
parent 82c1752d85
commit 31eb2f5337
6 changed files with 30 additions and 28 deletions

View File

@@ -101,7 +101,10 @@ class RadioLibInterface : public RadioInterface
void applyModemConfig();
/** Could we send right now (i.e. either not actively receiving or transmitting)? */
virtual bool canSendImmediately() = 0;
virtual bool canSendImmediately();
/** are we actively receiving a packet (only called during receiving state) */
virtual bool isActivelyReceiving() = 0;
/**
* Start waiting to receive a message