Fixed FPU code.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7006 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2014-07-03 11:30:26 +00:00
parent 16377ef46d
commit 655eebbc49
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ void SVC_Handler(void) {
#if CORTEX_USE_FPU
/* Enforcing unstacking of the FP part of the context.*/
SCB_FPCCR &= ~FPCCR_LSPACT;
FPU->FPCCR &= ~FPU_FPCCR_LSPACT_Msk;
#endif
/* The port_extctx structure is pointed by the PSP register.*/
@ -94,7 +94,7 @@ void PendSV_Handler(void) {
#if CORTEX_USE_FPU
/* Enforcing unstacking of the FP part of the context.*/
SCB_FPCCR &= ~FPCCR_LSPACT;
FPU->FPCCR &= ~FPU_FPCCR_LSPACT_Msk;
#endif
/* The port_extctx structure is pointed by the PSP register.*/