kopia lustrzana https://github.com/jgromes/RadioLib
[SX127x] Added missing GPIO input configuration in FSK mode
rodzic
88f528a789
commit
baf2a78981
|
@ -60,6 +60,7 @@ int16_t SX127x::beginFSK(uint8_t chipVersion, float br, float freqDev, float rxB
|
||||||
// set module properties
|
// set module properties
|
||||||
_mod->init();
|
_mod->init();
|
||||||
_mod->pinMode(_mod->getIrq(), INPUT);
|
_mod->pinMode(_mod->getIrq(), INPUT);
|
||||||
|
_mod->pinMode(_mod->getGpio(), INPUT);
|
||||||
|
|
||||||
// try to find the SX127x chip
|
// try to find the SX127x chip
|
||||||
if(!SX127x::findChip(chipVersion)) {
|
if(!SX127x::findChip(chipVersion)) {
|
||||||
|
|
Ładowanie…
Reference in New Issue