Skip to content

Commit d007eb9

Browse files
Merge #303
303: Update msp::write deprecation message r=adamgreig a=jonas-schievink Accidentally deleted from #297 during rebase Co-authored-by: Jonas Schievink <[email protected]>
2 parents d6fb22e + b376e00 commit d007eb9

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)