aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-thread.h
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-05-06 13:07:59 -0400
committerPaul Selkirk <paul@psgd.org>2017-05-06 13:07:59 -0400
commit4d69f1a0ef2ef3aa23b0ac9f1b9cbc84582136a7 (patch)
tree11fa3e8110ed726aca09ce8fb956fc547d2e9e7a /projects/hsm/mgmt-thread.h
parent1815f1b2aa0a3ff0654f4eb65fdd0a5bdfe8c7b7 (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 'projects/hsm/mgmt-thread.h')
0 files changed, 0 insertions, 0 deletions