Skip to content

Commit b376e00

Browse files
Update msp::write deprecation message
1 parent d6fb22e commit b376e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/register/msp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub fn read() -> u32 {
88

99
/// Writes `bits` to the CPU register
1010
#[inline]
11-
#[deprecated = "calling this function invokes Undefined Behavior"]
11+
#[deprecated = "calling this function invokes Undefined Behavior, consider asm::bootstrap as an alternative"]
1212
pub unsafe fn write(bits: u32) {
1313
call_asm!(__msp_w(bits: u32));
1414
}

0 commit comments

Comments
 (0)