diff options
Diffstat (limited to 'targets/corstone-310/target.cpp')
-rw-r--r-- | targets/corstone-310/target.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/corstone-310/target.cpp b/targets/corstone-310/target.cpp index 915ba0d..ea20077 100644 --- a/targets/corstone-310/target.cpp +++ b/targets/corstone-310/target.cpp @@ -254,7 +254,7 @@ void HardFault_Handler() { struct ExcContext *e; uint32_t sp; - asm volatile("mrs %0, ipsr \n" // Read IPSR (Exceptio number) + asm volatile("mrs %0, ipsr \n" // Read IPSR (Exception number) "sub %0, #16 \n" // Get it into IRQn_Type range "tst lr, #4 \n" // Select the stack which was in use "ite eq \n" |