Skip to content

Commit 46707ac

Browse files
author
Deepika
committed
Print OS version in ld format\
1 parent 225d247 commit 46707ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int main()
99
mbed_stats_sys_t stats;
1010
mbed_stats_sys_get(&stats);
1111

12-
printf("Mbed OS Version: 0x%x \n", stats.os_version);
12+
printf("Mbed OS Version: %ld \n", stats.os_version);
1313

1414
/* CPUID Register information
1515
[31:24]Implementer 0x41 = ARM

0 commit comments

Comments
 (0)