add back the old code that checked if the radio was actvively receiving

This commit is contained in:
geeksville
2020-04-30 21:29:51 -07:00
parent a8f64c3cc8
commit 1f1d683f4f
4 changed files with 27 additions and 9 deletions

View File

@@ -2,13 +2,14 @@
#include "MeshRadio.h" // kinda yucky, but we need to know which region we are in
#include "RadioLibInterface.h"
#include "RadioLibRF95.h"
/**
* Our new not radiohead adapter for RF95 style radios
*/
class RF95Interface : public RadioLibInterface
{
SX1278 *lora; // Either a RFM95 or RFM96 depending on what was stuffed on this board
RadioLibRF95 *lora; // Either a RFM95 or RFM96 depending on what was stuffed on this board
public:
RF95Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, SPIClass &spi);