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:
Kumar Gala 2021-06-18 13:37:43 -05:00 committed by Kumar Gala
commit 28e4af6176

View file

@ -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;