diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-11-05 14:40:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-11-05 14:40:48 +0000 |
commit | cdf83ce254198264167a1102c9c615b141b3c1dd (patch) | |
tree | bf90e468516fcdffd77f08fb98282e375cd147ed /os/ports/common/ARMCMx | |
parent | 4895ea3f4ea3c80f9e2648c71d566da69388b4ff (diff) | |
download | ChibiOS-cdf83ce254198264167a1102c9c615b141b3c1dd.tar.gz ChibiOS-cdf83ce254198264167a1102c9c615b141b3c1dd.tar.bz2 ChibiOS-cdf83ce254198264167a1102c9c615b141b3c1dd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3472 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/common/ARMCMx')
-rw-r--r-- | os/ports/common/ARMCMx/CMSIS/include/core_cmFunc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/ports/common/ARMCMx/CMSIS/include/core_cmFunc.h b/os/ports/common/ARMCMx/CMSIS/include/core_cmFunc.h index c999b1c83..ecf22a6bf 100644 --- a/os/ports/common/ARMCMx/CMSIS/include/core_cmFunc.h +++ b/os/ports/common/ARMCMx/CMSIS/include/core_cmFunc.h @@ -586,6 +586,9 @@ __attribute__( ( always_inline ) ) static __INLINE void __set_FPSCR(uint32_t fps {
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
__ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) );
+#else
+/* CHIBIOS FIX */
+ (void)fpscr;
#endif
}
|