[SX127x] Added missing GPIO input configuration in FSK mode
This commit is contained in:
parent
88f528a789
commit
baf2a78981
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue