Merge pull request from embassy-rs/mux-nonexhaustive

stm32/rcc: make ClockMux non_exhasutive.
This commit is contained in:
Dario Nieuwenhuis
2024-04-15 13:57:10 +02:00
committed by GitHub

@ -662,6 +662,7 @@ fn main() {
#(pub use crate::pac::rcc::vals::#enum_names as #enum_names; )* #(pub use crate::pac::rcc::vals::#enum_names as #enum_names; )*
#[derive(Clone, Copy)] #[derive(Clone, Copy)]
#[non_exhaustive]
pub struct ClockMux { pub struct ClockMux {
#( #struct_fields, )* #( #struct_fields, )*
} }