1
0
mirror of https://github.com/whowechina/aic_pico.git synced 2024-11-24 22:00:10 +01:00

Put built time to help

This commit is contained in:
whowechina 2024-05-18 14:24:22 +08:00
parent d20658fac6
commit e954d96287

View File

@ -59,7 +59,8 @@ int cli_match_prefix(const char *str[], int num, const char *prefix)
static void handle_help(int argc, char *argv[])
{
printf("%s", cli_logo);
printf("\tSN: %016llx\n\n", board_id_64());
printf("\tSN: %016llx\n", board_id_64());
printf("\tBuilt: %s %s\n\n", __DATE__, __TIME__);
printf("Available commands:\n");
for (int i = 0; i < num_commands; i++) {
printf("%*s: %s\n", max_cmd_len + 2, commands[i], helps[i]);