Merge pull request #2815 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
commit 3f4e326ec5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, )*
}