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 wifi.Radio.connect doc #3758

Merged
merged 1 commit into from
Nov 26, 2020
Merged

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Nov 25, 2020

Now it includes bssid info.

cc @BennyE @astrobokonon

Now it includes bssid info.
Copy link

@BennyE BennyE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If "config->sta.bssid_set = true;" (or false) is being used, this will make the following line always go to else (or not?) :

Line 147:
if ((config->sta.bssid_set == 0) && (config->sta.channel == 0)) {

@tannewt
Copy link
Member Author

tannewt commented Nov 25, 2020

If "config->sta.bssid_set = true;" (or false) is being used, this will make the following line always go to else (or not?) :

Line 147:
if ((config->sta.bssid_set == 0) && (config->sta.channel == 0)) {

bools are ints under the hood. So it works the same. https://en.wikipedia.org/wiki/C_data_types#stdbool.h

@jepler jepler merged commit 6fd123a into adafruit:main Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants