Add external RF switch management for RF95 (needed for RAK815)

This commit is contained in:
geeksville
2020-07-13 13:18:32 -07:00
parent 8ba8278fb5
commit 98dfecdb79
5 changed files with 51 additions and 5 deletions

View File

@@ -52,4 +52,13 @@ class RF95Interface : public RadioLibInterface
virtual void addReceiveMetadata(MeshPacket *mp);
virtual void setStandby();
/**
* We override to turn on transmitter power as needed.
*/
virtual void configHardwareForSend();
private:
/** Some boards require GPIO control of tx vs rx paths */
void setTransmitEnable(bool txon);
};