[LoRaWAN] Removed unsupported initializer (CI_BUILD_ALL)[

pull/952/head 6.4.1
jgromes 2024-01-27 19:05:44 +01:00
rodzic 070a0bf240
commit a44a3daa1c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {