commit | 88b8f2b1382ba1d8b6216957b8bca00605913e54 | [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 | 0f391cb64a2ea851f7cac2d7c5aac506d4aec0e5 [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