mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +00:00
stm32/rcc: make ClockMux non_exhasutive.
This commit is contained in:
parent
8e850de592
commit
fcaa7de87e
@ -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…
x
Reference in New Issue
Block a user