From b7985b957d0c259e9869763199c5cbf8ae9f4709 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 9 Mar 2015 10:48:08 +0000 Subject: 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 --- os/hal/src/ext.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/hal/src') 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.*/ -- cgit v1.2.3