Skip to content

Commit

Permalink
Merge pull request #7982 from hasnainvirk/mem_overrun
Browse files Browse the repository at this point in the history
LoRaWAN: Memory overrun correction
  • Loading branch information
0xc0170 authored Sep 17, 2018
2 parents 10b5a3a + 7b7d5eb commit aca7740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/lorawan/lorastack/phy/LoRaPHYCN470.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ LoRaPHYCN470::LoRaPHYCN470()
}

// Initialize the channels default mask
for (uint8_t i = 0; i < CN470_MAX_NB_CHANNELS; i++) {
for (uint8_t i = 0; i < CN470_CHANNEL_MASK_SIZE; i++) {
default_channel_mask[i] = 0xFFFF & fsb_mask[i];
}

Expand Down

0 comments on commit aca7740

Please sign in to comment.