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:
5d02614e34a86b549c7707d3d9f0984bc3a5f22a
Signed-off-by: Simon Hein <SHein@baumer.com>
|
||
|---|---|---|
| .. | ||
| apa102.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.apa102 | ||
| Kconfig.lpd880x | ||
| Kconfig.tlc5971 | ||
| Kconfig.ws2812 | ||
| lpd880x.c | ||
| tlc5971.c | ||
| ws2812_gpio.c | ||
| ws2812_spi.c | ||