add build date/time to startup log output
This commit is contained in:
parent
3c96d30f7a
commit
e16eaca30c
|
@ -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 <ctype.h>
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue