[SX127x] Added missing GPIO input configuration in FSK mode

This commit is contained in:
jgromes 2022-10-22 23:48:17 +02:00 committed by Federico Maggi
parent 9bb87bf264
commit e8ecd42b02
No known key found for this signature in database
GPG key ID: BA2EDAFB4F2486BC

View file

@ -60,6 +60,7 @@ int16_t SX127x::beginFSK(uint8_t chipVersion, float br, float freqDev, float rxB
// set module properties
_mod->init();
_mod->pinMode(_mod->getIrq(), INPUT);
_mod->pinMode(_mod->getGpio(), INPUT);
// try to find the SX127x chip
if(!SX127x::findChip(chipVersion)) {