Use EU433 frequency value as default for SX1268

This commit is contained in:
Vladislav Osmanov 2021-09-18 21:39:29 +03:00
parent bd9bf585d3
commit 16d2c565e8

View File

@ -8,8 +8,8 @@
class SX1268Interface : public SX126xInterface<SX1268> class SX1268Interface : public SX126xInterface<SX1268>
{ {
public: public:
/// override frequency of the SX1268 module regardless of the region /// override frequency of the SX1268 module regardless of the region (use EU433 value)
virtual float getFreq() { return 433.0; } virtual float getFreq() { return 433.175f; }
SX1268Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi); SX1268Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi);
}; };