esp32-tutorial icon indicating copy to clipboard operation
esp32-tutorial copied to clipboard

Update main.c

Open menesesleonardo opened this issue 6 years ago • 0 comments

current alreadyDiscovered function only looks for a one byte difference, this way checks for all possible combinations and does it faster with memcmp. discovered_devices_num is the number of discovered devices, is increased with each new discover. Is used to speed up the process so it doesn't check MAX_DISCOVERED_DEVICES

menesesleonardo avatar Jan 17 '19 02:01 menesesleonardo