[LoRaWAN] Removed unsupported initializer (CI_BUILD_ALL)[
This commit is contained in:
parent
070a0bf240
commit
a44a3daa1c
1 changed files with 1 additions and 1 deletions
|
@ -2219,7 +2219,7 @@ bool LoRaWANNode::execMacCommand(LoRaWANMacCommand_t* cmd, bool saveToEeprom) {
|
|||
|
||||
} else if (this->band->dataRates[drUp] != RADIOLIB_LORAWAN_DATA_RATE_UNUSED) {
|
||||
// check if the module supports this data rate
|
||||
DataRate_t dr = { .lora = { .bandwidth = 0, .codingRate = 0, .spreadingFactor = 0 } };
|
||||
DataRate_t dr;
|
||||
findDataRate(drUp, &dr);
|
||||
state = this->phyLayer->checkDataRate(dr);
|
||||
if(state == RADIOLIB_ERR_NONE) {
|
||||
|
|
Loading…
Add table
Reference in a new issue