Skip to content

Commit 443c023

Browse files
committed
Fix private member assess in pin::Pin::into_mode<>()
1 parent 0eee117 commit 443c023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/src/pio/pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ where
176176
unsafe {
177177
let matrix = &*MATRIX;
178178
let mask = 1 << pin;
179-
matrix.ccfg_sysio.modify(|_, w| w.bits(mask));
179+
matrix.ccfg_sysio().modify(|_, w| w.bits(mask));
180180
}
181181
}
182182
}

0 commit comments

Comments
 (0)