Skip to content

Conversation

@peterharperuk
Copy link
Contributor

The example in here uses an async callback to avoid a race when using stdio_usb. But there's a fix available for this issue so simplify the example.

To test pass -DPICO_STDIO_USB=1 on the cmake command line.

Fixes #461

The example in here uses an async callback to avoid a race when using
stdio_usb. But there's a fix available for this issue so simplify the
example.

To test pass -DPICO_STDIO_USB=1 on the cmake command line.

Fixes raspberrypi#461
@peterharperuk peterharperuk requested a review from kilograham May 1, 2024 17:24
@peterharperuk
Copy link
Contributor Author

Requires this fix in the sdk raspberrypi/pico-sdk#1649

@peterharperuk peterharperuk added this to the 1.5.2 milestone May 1, 2024
@peterharperuk
Copy link
Contributor Author

@kilograham Simple fix to remove some of my sillyness. Will merge if that's ok.

Copy link
Contributor

@kilograham kilograham left a comment

Choose a reason for hiding this comment

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

prepared to believe you ;-) though curious what / why of the disable_sta_mode?

@peterharperuk
Copy link
Contributor Author

This is "demonstrating" clean shutdown of the wifi stack. The loop keeps going while the link is up so pressing "d" calls disable_sta_mode which disables wifi and causes the program to exit.

@peterharperuk peterharperuk merged commit cbb5d61 into raspberrypi:develop Jul 12, 2024
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.

2 participants