mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Merge pull request #2815 from embassy-rs/mux-nonexhaustive
stm32/rcc: make ClockMux non_exhasutive.
This commit is contained in:
commit
3f4e326ec5
@ -662,6 +662,7 @@ fn main() {
|
||||
#(pub use crate::pac::rcc::vals::#enum_names as #enum_names; )*
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[non_exhaustive]
|
||||
pub struct ClockMux {
|
||||
#( #struct_fields, )*
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user