Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: uart.cpp
- Revision:
- 18:5aa48aec9cae
- Parent:
- 17:f9610f3cfa1b
- Child:
- 19:4b0fe9a5ec38
diff -r f9610f3cfa1b -r 5aa48aec9cae uart.cpp
--- a/uart.cpp Fri Nov 30 05:24:27 2018 +0000
+++ b/uart.cpp Sat Dec 01 14:03:08 2018 +0000
@@ -1,6 +1,6 @@
#include "typedef.h"
#include "uart.h"
-#include "command.h"
+#include "hbCommand.h"
//ログ吐出し様シリアルポートインスタンス
//----------------------------------
@@ -43,8 +43,9 @@
sp.printf("***********\r\n");
sp.printf("UART open!!\r\n");
sp.printf("-----------\r\n");
- sp.printf("short = %d\r\n" ,sizeof(unsigned short) );
- sp.printf("int = %d\r\n" ,sizeof(unsigned int) );
- sp.printf("long = %d\r\n" ,sizeof(unsigned long) );
+ sp.printf("INT16 = %d\r\n" ,sizeof(INT16) );
+ sp.printf("unsigned int = %d\r\n" ,sizeof(unsigned int) );
+ sp.printf("long = %d\r\n" ,sizeof(unsigned long) );
+ sp.printf("unsigned int = %d\r\n" ,sizeof(unsigned int) );
sp.printf("***********\r\n");
}