commit | 56048fe215997ab6788ebd251e8cde094392dfc7 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Fri Nov 18 15:03:22 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 07 14:20:01 2022 +0100 |
tree | 5f039769b1254a1c2e152b5025dc7fddd670cdc3 | |
parent | 825641d6150f05c1bcf6328ec726f46f2e9e37f9 [diff] |
fix(st): explicitly check operators precedence This corrects the MISRA violation C2012-12.1: The precedence of operators within expressions should be made explicit. This is done either by adding parentheses, or by creating dedicated variables to ease readability. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I5e3f191ee38eca7ef634bd7542e615ab625271f6