diff options
author | 2020-03-30 10:06:55 +0200 | |
---|---|---|
committer | 2020-03-31 13:04:46 +0200 | |
commit | 853a47fbf5cf76367a99f1d347dfc71a330f240e (patch) | |
tree | aa01840fbe43e3f78750aa82ebd08d20072d1d1f /cortex-m-rt/src | |
parent | ffffb7b3aaef1d9bb4e4b81347ed8f1d50e50ea4 (diff) | |
download | cortex-m-853a47fbf5cf76367a99f1d347dfc71a330f240e.tar.gz cortex-m-853a47fbf5cf76367a99f1d347dfc71a330f240e.tar.zst cortex-m-853a47fbf5cf76367a99f1d347dfc71a330f240e.zip |
New compile-fail string for interrupt-invalid
Diffstat (limited to 'cortex-m-rt/src')
-rw-r--r-- | cortex-m-rt/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/src/lib.rs b/cortex-m-rt/src/lib.rs index 06e945d..8b43c52 100644 --- a/cortex-m-rt/src/lib.rs +++ b/cortex-m-rt/src/lib.rs @@ -207,7 +207,7 @@ //! trampoline is required to set up the pointer to the stacked exception frame. //! //! - `HardFault`. This is the user defined hard fault handler. If not overridden using -//! `#[exception] fn HardFault(..` it will default to a panic with message "Hardfault". +//! `#[exception] fn HardFault(..` it will default to a panic with message "HardFault". //! //! - `__STACK_START`. This is the first entry in the `.vector_table` section. This symbol contains //! the initial value of the stack pointer; this is where the stack will be located -- the stack @@ -945,7 +945,7 @@ pub unsafe extern "C" fn Reset() -> ! { #[link_section = ".HardFault.default"] #[no_mangle] pub unsafe extern "C" fn HardFault_(ef: &ExceptionFrame) -> ! { - panic!("Hardfault"); + panic!("HardFault"); } #[doc(hidden)] |