docs: Fix wait docstring

This commit is contained in:
Sergio Gasquez 2025-01-08 10:30:46 +01:00
parent 650e13205d
commit a9e95d338a

View File

@ -310,7 +310,7 @@ where
Ok(())
}
/// "Wait" until the count down finishes without blocking.
/// "Wait", by blocking, until the count down finishes.
pub fn wait(&mut self) {
while !self.inner.is_interrupt_set() {}
self.inner.clear_interrupt();