Browse Source

use right format for printf u

Ondřej Hruška 3 years ago
parent
commit
af4911ff70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      User/main.c

+ 1 - 1
User/main.c View File

@@ -11,7 +11,7 @@ void main(void)
11 11
 
12 12
 	while (1) {
13 13
 		LED_Toggle();
14
-		printf("Time = %lu ms\r", time_ms);
14
+		printf("Time = %u ms\r", time_ms);
15 15
 		Delay(500);
16 16
 	}
17 17
 }