sforkowany z mirror/meshtastic-firmware
SX1268 frequency initialization regardless of the region
Otherwise, we get critical error 3 with result code -12 (ERR_INVALID_FREQUENCY): The supplied frequency value is invalid for this module.1.2-legacy
rodzic
2ba68c9b6e
commit
00bf7879af
|
@ -10,6 +10,9 @@ class SX1268Interface : public RadioLibInterface
|
|||
SX1268 lora;
|
||||
|
||||
public:
|
||||
/// Initializing the frequency of the SX1268 module regardless of the region
|
||||
float freq = 433.0;
|
||||
|
||||
SX1268Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi);
|
||||
|
||||
/// Initialise the Driver transport hardware and software.
|
||||
|
|
Ładowanie…
Reference in New Issue