This commit is contained in:
geeksville
2020-05-02 19:51:25 -07:00
parent 2ad314f150
commit bb9f595b8b
11 changed files with 137 additions and 33 deletions

View File

@@ -85,8 +85,8 @@ class RadioLibInterface : public RadioInterface
void startSend(MeshPacket *txp);
/** if we have something waiting to send, start a short random timer so we can come check for collision before actually doing
* the transmit
*
* the transmit
*
* If the timer was already running, we just wait for that one to occur.
* */
void startTransmitTimer(bool withDelay = true);
@@ -103,7 +103,7 @@ class RadioLibInterface : public RadioInterface
void applyModemConfig();
/** Could we send right now (i.e. either not actively receiving or transmitting)? */
bool canSendImmediately();
virtual bool canSendImmediately();
/** are we actively receiving a packet (only called during receiving state) */
virtual bool isActivelyReceiving() = 0;
@@ -128,4 +128,6 @@ class RadioLibInterface : public RadioInterface
virtual void addReceiveMetadata(MeshPacket *mp) = 0;
virtual void loop(); // Idle processing
virtual void setStandby() = 0;
};