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:
parent
16377ef46d
commit
655eebbc49
|
@ -64,7 +64,7 @@ void SVC_Handler(void) {
|
||||||
|
|
||||||
#if CORTEX_USE_FPU
|
#if CORTEX_USE_FPU
|
||||||
/* Enforcing unstacking of the FP part of the context.*/
|
/* Enforcing unstacking of the FP part of the context.*/
|
||||||
SCB_FPCCR &= ~FPCCR_LSPACT;
|
FPU->FPCCR &= ~FPU_FPCCR_LSPACT_Msk;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The port_extctx structure is pointed by the PSP register.*/
|
/* The port_extctx structure is pointed by the PSP register.*/
|
||||||
|
@ -94,7 +94,7 @@ void PendSV_Handler(void) {
|
||||||
|
|
||||||
#if CORTEX_USE_FPU
|
#if CORTEX_USE_FPU
|
||||||
/* Enforcing unstacking of the FP part of the context.*/
|
/* Enforcing unstacking of the FP part of the context.*/
|
||||||
SCB_FPCCR &= ~FPCCR_LSPACT;
|
FPU->FPCCR &= ~FPU_FPCCR_LSPACT_Msk;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The port_extctx structure is pointed by the PSP register.*/
|
/* The port_extctx structure is pointed by the PSP register.*/
|
||||||
|
|
Loading…
Reference in New Issue