aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/ext.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-09 10:48:08 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-09 10:48:08 +0000
commitb7985b957d0c259e9869763199c5cbf8ae9f4709 (patch)
treecb1cff3966c06b52cbba51cceb4b659dd9f25562 /os/hal/src/ext.c
parentce7f7103df5f634f7b57d90e115c5824adcb68a0 (diff)
downloadChibiOS-b7985b957d0c259e9869763199c5cbf8ae9f4709.tar.gz
ChibiOS-b7985b957d0c259e9869763199c5cbf8ae9f4709.tar.bz2
ChibiOS-b7985b957d0c259e9869763199c5cbf8ae9f4709.zip
MISRA pass on low level device drivers templates.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7739 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/ext.c')
-rw-r--r--os/hal/src/ext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/src/ext.c b/os/hal/src/ext.c
index feacdc0ef..35568f8a3 100644
--- a/os/hal/src/ext.c
+++ b/os/hal/src/ext.c
@@ -190,7 +190,9 @@ void extSetChannelModeI(EXTDriver *extp,
/* Note that here the access is enforced as non-const, known access
violation.*/
+ /*lint -save -e9005 [11.8] Known issue, the driver needs rework here.*/
oldcp = (EXTChannelConfig *)&extp->config->channels[channel];
+ /*lint -restore*/
/* Overwiting the old channels configuration then the channel is reconfigured
by the low level driver.*/