diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-04 15:19:26 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-01-04 15:19:26 +0000 |
commit | 31ff7676c6e2b7aee63fc2c06bd19c565a74ad7a (patch) | |
tree | 0055d227e43e0f8bff8d48e95f52768153c881b3 /os/rt/ports | |
parent | 788175c0883ca8b9aa5c46918c98cd906efdeb9b (diff) | |
download | ChibiOS-31ff7676c6e2b7aee63fc2c06bd19c565a74ad7a.tar.gz ChibiOS-31ff7676c6e2b7aee63fc2c06bd19c565a74ad7a.tar.bz2 ChibiOS-31ff7676c6e2b7aee63fc2c06bd19c565a74ad7a.zip |
MISRA-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8688 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports')
-rw-r--r-- | os/rt/ports/ARMCMx/chcore_v7m.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/ports/ARMCMx/chcore_v7m.h b/os/rt/ports/ARMCMx/chcore_v7m.h index 2d5b82a9e..df5d02e12 100644 --- a/os/rt/ports/ARMCMx/chcore_v7m.h +++ b/os/rt/ports/ARMCMx/chcore_v7m.h @@ -391,7 +391,7 @@ static inline void port_init(void) { /* DWT cycle counter enable, note, the M7 requires DWT unlocking.*/
CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk;
#if CORTEX_MODEL == 7
- DWT->LAR = 0xC5ACCE55;
+ DWT->LAR = 0xC5ACCE55U;
#endif
DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk;
|