Fixed wrong variable type in printf
This commit is contained in:
parent
a891650679
commit
6ca77928e2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ int main(void)
|
||||||
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
|
NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
|
||||||
Delay_Init();
|
Delay_Init();
|
||||||
USART_Printf_Init(115200);
|
USART_Printf_Init(115200);
|
||||||
printf("SystemClk:%d\r\n", SystemCoreClock);
|
printf("SystemClk:%ld\r\n", SystemCoreClock);
|
||||||
|
|
||||||
printf("This is printf example\r\n");
|
printf("This is printf example\r\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue