mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
Add #Safety tag to unsafe rationale docstring
This commit is contained in:
parent
691f43c17b
commit
416baf6405
|
@ -175,6 +175,8 @@ impl CrystalOscillator<Stable> {
|
|||
}
|
||||
|
||||
/// Put the XOSC in DORMANT state.
|
||||
///
|
||||
/// # Safety
|
||||
/// This method is marked unsafe because prior to switch the XOSC into DORMANT state,
|
||||
/// PLLs must be stopped and IRQs have to be properly configured.
|
||||
/// This method does not do any of that, it merely switches the XOSC to DORMANT state.
|
||||
|
|
Loading…
Reference in a new issue