Skip to content

Commit 508292c

Browse files
committed
itm: improve unlock documentation
1 parent 50c7fd3 commit 508292c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripheral/itm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub struct ITMSettings {
175175
}
176176

177177
impl ITM {
178-
/// Removes the software lock on the ITM.
178+
/// Removes the software lock on the ITM. Must be called before any other [ITM] functions.
179179
#[inline]
180180
pub fn unlock(&mut self) {
181181
// NOTE(unsafe) atomic write to a stateless, write-only register

0 commit comments

Comments
 (0)