From 3063038f82ce3df8096adfd4cc9e9aa788eb81f8 Mon Sep 17 00:00:00 2001 From: Harry Brooke Date: Wed, 6 Dec 2023 10:49:28 +0000 Subject: [PATCH] make usart::State private --- embassy-stm32/src/usart/buffered.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/usart/buffered.rs b/embassy-stm32/src/usart/buffered.rs index a2e4ceaa..f2014fe0 100644 --- a/embassy-stm32/src/usart/buffered.rs +++ b/embassy-stm32/src/usart/buffered.rs @@ -82,7 +82,7 @@ impl interrupt::typelevel::Handler for Interrupt } } -pub struct State { +struct State { rx_waker: AtomicWaker, rx_buf: RingBuffer,