drivers: sensor: iis2iclx: Fix compile warning
Fix compile warning with clang and extraneous parentheses Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
deb689f0f9
commit
28e4af6176
1 changed files with 2 additions and 2 deletions
|
@ -141,9 +141,9 @@ static void iis2iclx_handle_interrupt(const struct device *dev)
|
|||
return;
|
||||
}
|
||||
|
||||
if ((status.xlda == 0)
|
||||
if (status.xlda == 0
|
||||
#if defined(CONFIG_IIS2ICLX_ENABLE_TEMP)
|
||||
&& (status.tda == 0)
|
||||
&& status.tda == 0
|
||||
#endif
|
||||
) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue