aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/basic/src/main.rs
diff options
context:
space:
mode:
authorAdrian Wowk <[email protected]>2025-03-26 17:11:27 -0500
committerAdrian Wowk <[email protected]>2025-03-26 17:11:27 -0500
commit1b6e563260ec2b00cb518e0e801222ebd1ba9902 (patch)
treeac3cdedf0efe3ec78998ae9134444861c53020cd /docs/examples/basic/src/main.rs
parent9edf5b7f049f95742b60b041e4443967d8a6b708 (diff)
rp/adc: fix potential race condition
This commit rearranges the Adc::wait_for_ready function to make sure that wakers are registered before the interrupt is enabled, and keeps enabling the interrupt until the ADC is ready
Diffstat (limited to 'docs/examples/basic/src/main.rs')
0 files changed, 0 insertions, 0 deletions