1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

cpu/cortexm_common: fix typo 'occured' -> 'occurred'

This commit is contained in:
Alexandre Abadie 2020-10-02 07:56:27 +02:00
parent 60f39ddba8
commit 2609dc1aa7
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -384,7 +384,7 @@ __attribute__((used)) void hard_fault_handler(uint32_t* sp, uint32_t corrupted,
/* Print the interrupt number, NMI being -14, hardfault is -13,
* IRQ0 is 0 and so on */
uint32_t psr = sp[7]; /* Program status register. */
printf("Hard fault occured in ISR number %d\n",
printf("Hard fault occurred in ISR number %d\n",
(int)(psr & 0xff) - 16);
}
puts("Attempting to reconstruct state for debugging...");