optimize timestamp of log output to a fixed length

master
ThinkPad-T460P 2021-02-19 09:44:30 +08:00
parent 7df0667bde
commit eeb18b5836
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void Log(LogLevel_t level,LogPositon_t positon,char *format,...)
case pmb:{ printf("PMB: ") ; }break; case pmb:{ printf("PMB: ") ; }break;
default: { printf("Undefined Position: ") ;}break; default: { printf("Undefined Position: ") ;}break;
} }
printf("%u | ",osKernelGetTickCount()); printf("%8u | ",osKernelGetTickCount());
va_list args; va_list args;
va_start( args, format ); va_start( args, format );
print(0, format, args ); print(0, format, args );