From b376e0051e6b511ad30db9c3e8429041773e8bc4 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Thu, 3 Dec 2020 13:59:00 +0100 Subject: [PATCH] Update msp::write deprecation message --- src/register/msp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register/msp.rs b/src/register/msp.rs index 78f507c3..bccc2ae8 100644 --- a/src/register/msp.rs +++ b/src/register/msp.rs @@ -8,7 +8,7 @@ pub fn read() -> u32 { /// Writes `bits` to the CPU register #[inline] -#[deprecated = "calling this function invokes Undefined Behavior"] +#[deprecated = "calling this function invokes Undefined Behavior, consider asm::bootstrap as an alternative"] pub unsafe fn write(bits: u32) { call_asm!(__msp_w(bits: u32)); }