mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-11 13:01:30 +11:00
Make clippy happy.
This commit is contained in:
parent
35a10f2bc6
commit
f44f5f0e09
|
@ -279,7 +279,9 @@ where
|
||||||
|
|
||||||
/// Clear a locked spin-lock.
|
/// Clear a locked spin-lock.
|
||||||
///
|
///
|
||||||
/// Safety: Only call this function if you hold the spin-lock.
|
/// # Safety
|
||||||
|
///
|
||||||
|
/// Only call this function if you hold the spin-lock.
|
||||||
pub unsafe fn release() {
|
pub unsafe fn release() {
|
||||||
let sio = &*pac::SIO::ptr();
|
let sio = &*pac::SIO::ptr();
|
||||||
// Write (any value): release the lock
|
// Write (any value): release the lock
|
||||||
|
|
Loading…
Reference in a new issue