mirror of https://github.com/ARMmbed/mbed-os.git
parent
9b4491c14d
commit
aa65a10e06
|
@ -719,7 +719,7 @@ void LoRaPHY::apply_cf_list(cflist_params_t* cf_list)
|
||||||
// should override this function in the implementation of that particular
|
// should override this function in the implementation of that particular
|
||||||
// PHY.
|
// PHY.
|
||||||
for (uint8_t i = 0, channel_id = phy_params.default_channel_cnt;
|
for (uint8_t i = 0, channel_id = phy_params.default_channel_cnt;
|
||||||
channel_id < phy_params.max_channel_cnt; i+=phy_params.default_channel_cnt, channel_id++) {
|
channel_id < phy_params.max_channel_cnt; i+=3, channel_id++) {
|
||||||
if (channel_id < (phy_params.cflist_channel_cnt + phy_params.default_channel_cnt)) {
|
if (channel_id < (phy_params.cflist_channel_cnt + phy_params.default_channel_cnt)) {
|
||||||
// Channel frequency
|
// Channel frequency
|
||||||
new_channel.frequency = (uint32_t) cf_list->payload[i];
|
new_channel.frequency = (uint32_t) cf_list->payload[i];
|
||||||
|
|
Loading…
Reference in New Issue