Use EU433 frequency value as default for SX1268

1.2-legacy
Vladislav Osmanov 2021-09-18 21:39:29 +03:00
rodzic bd9bf585d3
commit 16d2c565e8
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -8,8 +8,8 @@
class SX1268Interface : public SX126xInterface<SX1268>
{
public:
/// override frequency of the SX1268 module regardless of the region
virtual float getFreq() { return 433.0; }
/// override frequency of the SX1268 module regardless of the region (use EU433 value)
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);
};