kopia lustrzana https://github.com/jgromes/RadioLib
[SX1231] Update markers for debug decoder
rodzic
936eb262a1
commit
5e22589e05
|
|
@ -40,13 +40,13 @@ int16_t SX1231::begin(float freq, float br, float rxBw, float freqDev, int8_t po
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("No SX1231 found!"));
|
RADIOLIB_DEBUG_PRINTLN(F("No SX1231 found!"));
|
||||||
_mod->term(RADIOLIB_USE_SPI);
|
_mod->term(RADIOLIB_USE_SPI);
|
||||||
return(ERR_CHIP_NOT_FOUND);
|
return(ERR_CHIP_NOT_FOUND);
|
||||||
} else {
|
|
||||||
RADIOLIB_DEBUG_PRINTLN(F("Found SX1231!"));
|
|
||||||
}
|
}
|
||||||
|
RADIOLIB_DEBUG_PRINTLN(F("M\tSX1231"));
|
||||||
|
|
||||||
// configure settings not accessible by API
|
// configure settings not accessible by API
|
||||||
int16_t state = config();
|
int16_t state = config();
|
||||||
RADIOLIB_ASSERT(state);
|
RADIOLIB_ASSERT(state);
|
||||||
|
RADIOLIB_DEBUG_PRINTLN(F("M\tRF69"));
|
||||||
|
|
||||||
// configure publicly accessible settings
|
// configure publicly accessible settings
|
||||||
state = setFrequency(freq);
|
state = setFrequency(freq);
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue