[SX126x] Fixed variable redefinition
This commit is contained in:
parent
e482c7e554
commit
2b0317d618
1 changed files with 0 additions and 1 deletions
|
@ -571,7 +571,6 @@ int16_t SX126x::startReceiveCommon() {
|
|||
}
|
||||
|
||||
// restore original packet length
|
||||
int16_t state = ERR_NONE;
|
||||
uint8_t modem = getPacketType();
|
||||
if(modem == SX126X_PACKET_TYPE_LORA) {
|
||||
state = setPacketParams(_preambleLength, _crcType, _implicitLen, _headerType);
|
||||
|
|
Loading…
Add table
Reference in a new issue