zephyr/drivers/console
Daniel Marjamäki eb80530618 sca: Fix undefined behavior during preprocessing
According to the C standard it is undefined behavior to use preprocessor
directives inside macro invocations.

Cppcheck stops when it see this UB with an error message, and so this
change will improve Cppcheck analysis

This is a refactoring to fix UB, no logical change is intended.

Signed-off-by: Daniel Marjamäki <daniel.marjamaki@cppchecksolutions.com>
2025-06-27 14:14:35 +02:00
..
CMakeLists.txt
efi_console.c
ipm_console_receiver.c
ipm_console_sender.c
ipm_console.c
jailhouse_debug_console.c
Kconfig
posix_arch_console.c
ram_console.c
rtt_console.c
semihost_console.c
uart_console.c sca: Fix undefined behavior during preprocessing 2025-06-27 14:14:35 +02:00
uart_mcumgr.c
winstream_console.c
xtensa_sim_console.c