From e16eaca30c52a543d592fadffb4e483be55e22d6 Mon Sep 17 00:00:00 2001 From: gered Date: Sat, 8 Feb 2025 22:25:38 -0500 Subject: [PATCH] add build date/time to startup log output --- src/toolbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/toolbox.c b/src/toolbox.c index e143545..efd97af 100644 --- a/src/toolbox.c +++ b/src/toolbox.c @@ -3,7 +3,7 @@ */ #include "log_level.h" -#define DEFAULT_LOG_LEVEL LOG_ERROR +#define DEFAULT_LOG_LEVEL LOG_INFO #define LOG_CHANNEL LOG_CHANNEL_UART0 #include @@ -84,7 +84,7 @@ void initialize() { /* Setup logging early */ log_init(); log_setlevel(DEFAULT_LOG_LEVEL); - INFO3("\n\rFoenix Toolbox v%d.%02d.%04d starting up...", VER_MAJOR, VER_MINOR, VER_BUILD); + INFO5("\n\rFoenix Toolbox v%d.%02d.%04d built on %s %s starting up...", VER_MAJOR, VER_MINOR, VER_BUILD, __DATE__, __TIME__); /* Fill out the system information */ sys_get_information(&info);