bug: we've always been setting gpio 0 as an input on rf95 based devices

found because portduino provides full visibility to all IO operations
to the hw simulator.
1.2-legacy
Kevin Hester 2021-01-02 11:23:18 +08:00
rodzic ebdad76fb2
commit 5ceee50bb5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,7 @@
#define POWER_DEFAULT 17 // How much power to use if the user hasn't set a power level #define POWER_DEFAULT 17 // How much power to use if the user hasn't set a power level
RF95Interface::RF95Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, SPIClass &spi) RF95Interface::RF95Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, SPIClass &spi)
: RadioLibInterface(cs, irq, rst, 0, spi) : RadioLibInterface(cs, irq, rst, RADIOLIB_NC, spi)
{ {
// FIXME - we assume devices never get destroyed // FIXME - we assume devices never get destroyed
} }