commit | 909c708e5ef84b6fb9234f1e82e3df3210b66064 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Mon Nov 28 14:55:14 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Wed Dec 07 14:18:30 2022 +0100 |
tree | 40b83f3d43247287b454152aeb2e7ae2917357e0 | |
parent | f64eae054947b4a2903b643af25c284189e5f7d2 [diff] |
fix(st-regulator): 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. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: If8312442222ba848ac1f5e38df1bed0a367646a7