esp8266_beaconSpam
esp8266_beaconSpam copied to clipboard
Channel 13 is always added
Channel 13 is always added, when two or more channels are specified.
Test case, set two channels:
const uint8_t channels[] = {4, 5};
What's actually used are channels 4, 5, and 13
This line:
if (channelIndex > sizeof(channels)) channelIndex = 0;
Needs to be changed to:
if (channelIndex >= sizeof(channels)) channelIndex = 0;
The problem was actually something else, fixed here - https://github.com/atom-smasher/esp8266_beaconSpam