Skip to content

Commit 0b107f0

Browse files
committed
Remove CFGR2 again
1 parent 7e537d4 commit 0b107f0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/rcc.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ impl RccExt for RCC {
7979
apb1: APB1 { _0: () },
8080
apb2: APB2 { _0: () },
8181
bdcr: BDCR { _0: () },
82-
cfgr2: CFGR2 { _0: () },
8382
cfgr: CFGR::default(),
8483
}
8584
}
@@ -106,7 +105,6 @@ pub struct Rcc {
106105
pub bdcr: BDCR,
107106
/// Clock configuration
108107
pub cfgr: CFGR,
109-
pub cfgr2: CFGR2,
110108
}
111109

112110
/// AMBA High-performance Bus (AHB) registers
@@ -254,16 +252,6 @@ impl BDCR {
254252
}
255253
}
256254

257-
pub struct CFGR2 {
258-
_0: (),
259-
}
260-
261-
impl CFGR2 {
262-
pub(crate) fn cfgr2(&mut self) -> &rcc::CFGR2 {
263-
unsafe { &(*RCC::ptr()).cfgr2 }
264-
}
265-
}
266-
267255
/// Clock configuration
268256
///
269257
/// An instance of this struct is acquired from the [`RCC`](crate::pac::RCC) struct.

0 commit comments

Comments
 (0)