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