1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core/lib/init: skip boot message if stdio_null is used

With `stdio_null` no one is reading the boot message anyway, so let's
safe some ROM.
This commit is contained in:
Marian Buschsieweke 2024-01-18 10:29:06 +01:00
parent f9aab53e16
commit b17b2b0444
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6

View File

@ -56,7 +56,7 @@ static void *main_trampoline(void *arg)
auto_init();
}
if (!IS_ACTIVE(CONFIG_SKIP_BOOT_MSG)) {
if (!IS_ACTIVE(CONFIG_SKIP_BOOT_MSG) && !IS_USED(MODULE_STDIO_NULL)) {
LOG_INFO(CONFIG_BOOT_MSG_STRING "\n");
}