Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.c #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update main.c #9

wants to merge 1 commit into from

Conversation

menesesleonardo
Copy link

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

current alreadyDiscovered function only looks for a one byte difference, this way checks for all possible combinations and does it faster with memcmp.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant