From 5b26a580a25ef89d334122e605ebc46a2f013027 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Wed, 6 Dec 2023 20:26:05 +0800 Subject: [PATCH] [nano] add rt-thread nano title when startup --- src/kservice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kservice.c b/src/kservice.c index d294f218bb..c13975c41a 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -726,8 +726,10 @@ RTM_EXPORT(rt_strdup); void rt_show_version(void) { rt_kprintf("\n \\ | /\n"); -#ifdef RT_USING_SMART +#if defined(RT_USING_SMART) rt_kprintf("- RT - Thread Smart Operating System\n"); +#elif defined(RT_USING_NANO) + rt_kprintf("- RT - Thread Nano Operating System\n"); #else rt_kprintf("- RT - Thread Operating System\n"); #endif