zephyr/drivers/led_strip
Simon Hein d0921018fc drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

The commit is a subset of the original auditable-branch commit:
5d02614e34

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
CMakeLists.txt
Kconfig
Kconfig.apa102
Kconfig.lpd880x
Kconfig.tlc5971
Kconfig.ws2812
apa102.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
lpd880x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
tlc5971.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
ws2812_gpio.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
ws2812_spi.c drivers: led_strip: ws2812: allow settings cpol and cpha 2022-06-28 16:50:26 +02:00