portuino now kinda works with the pinetab lora USB module.

still need to add an AEX256 impl for the linux port and optimize a bit
This commit is contained in:
Kevin Hester
2021-01-02 12:38:18 +08:00
parent b0e3a7524f
commit aa176b6593
4 changed files with 53 additions and 4 deletions

View File

@@ -14,6 +14,9 @@ class RF95Interface : public RadioLibInterface
public:
RF95Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, SPIClass &spi);
/// Some boards (Pinetab Lora module) have broken IRQ wires, so we need to poll via i2c registers
bool isIRQPending() { return lora->getPendingIRQ(); }
/// Initialise the Driver transport hardware and software.
/// Make sure the Driver is properly configured before calling init().
/// \return true if initialisation succeeded.