From ab702aabe7cd6b417324f72669d6f0f9411e32e8 Mon Sep 17 00:00:00 2001 From: 0x35c Date: Fri, 27 Sep 2024 12:23:00 +0200 Subject: [PATCH] fix: date cmd crashed because of the cringe kprintf(0, "[...]") from Camille (bozo) --- src/shell/commands/date_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/commands/date_cmd.c b/src/shell/commands/date_cmd.c index 28c64e7..449c3f9 100644 --- a/src/shell/commands/date_cmd.c +++ b/src/shell/commands/date_cmd.c @@ -13,7 +13,7 @@ void date_cmd(char *arg) (void)arg; struct rtc_date date = get_date(); - kprintf(0, "%s. %d %s. %d %d:%d:%d\n", week_days[date.index_of_the_day], + kprintf("%s. %d %s. %d %d:%d:%d\n", week_days[date.index_of_the_day], date.day, months[date.month], date.year, date.hour, date.minute, date.second); }