Skip to content

Commit 2e41e92

Browse files
David-OConnorteskje
authored andcommitted
Updated impl
1 parent 1083e26 commit 2e41e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub struct APB1 {
6666
}
6767

6868
impl APB1 {
69-
pub fn enr(&mut self) -> &rcc::APB1ENR {
69+
pub(crate) fn enr(&mut self) -> &rcc::APB1ENR {
7070
// NOTE(unsafe) this proxy grants exclusive access to this register
7171
unsafe { &(*RCC::ptr()).apb1enr }
7272
}

0 commit comments

Comments
 (0)