diff --git a/embassy-util/src/channel/signal.rs b/embassy-util/src/channel/signal.rs index ff53934e..05889f5a 100644 --- a/embassy-util/src/channel/signal.rs +++ b/embassy-util/src/channel/signal.rs @@ -69,6 +69,7 @@ impl Signal { }) } + /// Manually poll the Signal future. pub fn poll_wait(&self, cx: &mut Context<'_>) -> Poll { critical_section::with(|_| unsafe { let state = &mut *self.state.get();