From 1474f60da3ac5bf5bc04eddfea7e3d41b1932658 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 5 Feb 2017 14:10:07 +0000 Subject: MISRA-related fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10084 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/startup/ARMCMx/compilers/GCC/crt1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/common/startup/ARMCMx/compilers/GCC') diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt1.c b/os/common/startup/ARMCMx/compilers/GCC/crt1.c index 1b05f083e..a5a7a0cff 100644 --- a/os/common/startup/ARMCMx/compilers/GCC/crt1.c +++ b/os/common/startup/ARMCMx/compilers/GCC/crt1.c @@ -135,7 +135,7 @@ __attribute__((weak)) /*lint -save -e9075 [8.4] All symbols are invoked from asm context.*/ void __core_init(void) { -#if __CORTEX_M == 7 +#if CORTEX_MODEL == 7 SCB_EnableICache(); SCB_EnableDCache(); #endif -- cgit v1.2.3