mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 13:01:30 +11:00
Remove unneeded unsafe
This commit is contained in:
parent
3bdc338a0d
commit
1b42913077
|
@ -203,7 +203,7 @@ impl CrystalOscillator<Stable> {
|
|||
//taken from the C SDK
|
||||
const XOSC_DORMANT_VALUE: u32 = 0x636f6d61;
|
||||
|
||||
self.device.dormant.write(|w| unsafe {
|
||||
self.device.dormant.write(|w| {
|
||||
w.bits(XOSC_DORMANT_VALUE);
|
||||
w
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue