make usart::State private

This commit is contained in:
Harry Brooke 2023-12-06 10:49:28 +00:00 committed by GitHub
parent 7703f47c1e
commit 3063038f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ impl<T: BasicInstance> interrupt::typelevel::Handler<T::Interrupt> for Interrupt
}
}
pub struct State {
struct State {
rx_waker: AtomicWaker,
rx_buf: RingBuffer,