Merge pull request #2815 from embassy-rs/mux-nonexhaustive
stm32/rcc: make ClockMux non_exhasutive.
This commit is contained in:
commit
3f4e326ec5
1 changed files with 1 additions and 0 deletions
|
@ -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, )*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue