aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-04-15 13:57:10 +0200
committerGitHub <[email protected]>2024-04-15 13:57:10 +0200
commit3f4e326ec5ec081742e9f30cb7b0bc936e74009c (patch)
tree2286b0751d0f6c3ad4c881662211b82f294dc334
parent8e850de5925f14f19524a8860b289eb751fb9bf9 (diff)
parentfcaa7de87e48463b50b9842288b25ae648dc351f (diff)
Merge pull request #2815 from embassy-rs/mux-nonexhaustive
stm32/rcc: make ClockMux non_exhasutive.
-rw-r--r--embassy-stm32/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs
index 0f87dd8ac..67fceda56 100644
--- a/embassy-stm32/build.rs
+++ b/embassy-stm32/build.rs
@@ -662,6 +662,7 @@ fn main() {
662 #(pub use crate::pac::rcc::vals::#enum_names as #enum_names; )* 662 #(pub use crate::pac::rcc::vals::#enum_names as #enum_names; )*
663 663
664 #[derive(Clone, Copy)] 664 #[derive(Clone, Copy)]
665 #[non_exhaustive]
665 pub struct ClockMux { 666 pub struct ClockMux {
666 #( #struct_fields, )* 667 #( #struct_fields, )*
667 } 668 }