Skip to content

Commit 78df546

Browse files
committed
make CFGR copy
1 parent b80bc63 commit 78df546

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rcc/f4/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ pub const PCLK2_MAX: u32 = SYSCLK_MAX / 2;
104104
/// Maximum APB1 peripheral clock frequency
105105
pub const PCLK1_MAX: u32 = PCLK2_MAX / 2;
106106

107+
#[derive(Clone, Copy, Debug)]
107108
pub struct CFGR {
108109
hse: Option<u32>,
109110
hse_bypass: bool,

0 commit comments

Comments
 (0)