diff options
author | Paul Selkirk <paul@psgd.org> | 2017-05-06 13:07:59 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-05-06 13:07:59 -0400 |
commit | 4d69f1a0ef2ef3aa23b0ac9f1b9cbc84582136a7 (patch) | |
tree | 11fa3e8110ed726aca09ce8fb956fc547d2e9e7a /stm32f4xx_hal_msp.c | |
parent | 1815f1b2aa0a3ff0654f4eb65fdd0a5bdfe8c7b7 (diff) |
Correct offset to get the PC.
A previous version of this code ran over the RTOS, where threads used the
Process Stack, while the SysTick interrupt used the Main Stack. Now
everything's on the main stack, so we need to account for 2 extra words
that SysTick_Handler pushes on the stack at entry.
Diffstat (limited to 'stm32f4xx_hal_msp.c')
0 files changed, 0 insertions, 0 deletions