optimize timestamp of log output to a fixed length
parent
7df0667bde
commit
eeb18b5836
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue