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 console: ipm_console_sender: fix function naming camel case 2024-08-01 16:49:08 +01:00
ipm_console.c
jailhouse_debug_console.c
Kconfig console: winstream: add missing Kconfig dependency 2025-03-15 13:08:03 +01:00
posix_arch_console.c
ram_console.c
rtt_console.c drivers: console: rtt_console: use Segger recommended write API 2024-08-12 10:14:34 +02:00
semihost_console.c
uart_console.c sca: Fix undefined behavior during preprocessing 2025-06-27 14:14:35 +02:00
uart_mcumgr.c drivers: console: uart_mcumgr: rename callback 2025-04-22 09:58:40 +02:00
winstream_console.c console: winstream: fix conditional 2025-01-08 19:11:29 +01:00
xtensa_sim_console.c