diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-01-26 08:32:07 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2019-01-26 08:32:07 +0000 |
commit | 57d31cabcfedbab69c74cde694f8fe1ec652385d (patch) | |
tree | fefaa32d234406c79aecfd43d69be09077797593 /os/hal/include/hal_buffers.h | |
parent | 2c757aacd0569a7cf824513ec34e5ed976291597 (diff) | |
download | ChibiOS-57d31cabcfedbab69c74cde694f8fe1ec652385d.tar.gz ChibiOS-57d31cabcfedbab69c74cde694f8fe1ec652385d.tar.bz2 ChibiOS-57d31cabcfedbab69c74cde694f8fe1ec652385d.zip |
MISRA-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12586 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include/hal_buffers.h')
-rw-r--r-- | os/hal/include/hal_buffers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h index 9c5ea42d6..200c1b295 100644 --- a/os/hal/include/hal_buffers.h +++ b/os/hal/include/hal_buffers.h @@ -47,7 +47,9 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+/*lint -save -e9027 [10.1] It is meant to be this way, not an error.*/
#if (BUFFERS_CHUNKS_SIZE & (BUFFERS_CHUNKS_SIZE - 1)) != 0
+/*lint -restore*/
#error "BUFFERS_CHUNKS_SIZE must be a power of two"
#endif
|