From: Michal Sojka Date: Tue, 14 Apr 2015 06:09:39 +0000 (+0200) Subject: Enclose macro body in parentheses X-Git-Tag: eaton-0.3.1 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-simulink.git/commitdiff_plain/refs/tags/eaton-0.3.1 Enclose macro body in parentheses This is required by Misra and similar coding standards. --- diff --git a/rpp/rpp/rpp_srmain.tlc b/rpp/rpp/rpp_srmain.tlc index 03db087..824d8f8 100644 --- a/rpp/rpp/rpp_srmain.tlc +++ b/rpp/rpp/rpp_srmain.tlc @@ -59,7 +59,7 @@ %openfile tmpBuf /* Definitions */ - #define STEP_SIZE_MILLIS %*1000.0 + #define STEP_SIZE_MILLIS (%*1000.0) #define CONTROL_PRIORITY 3 #define WORKING_PRIORITY 2 #define EXTMODE_PRIORITY 1