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: Serial_Writer.h
- Revision:
- 2:4f7655735c6f
- Parent:
- 1:a9cd302df0c5
- Child:
- 3:de9ceec558b5
--- a/Serial_Writer.h Fri May 07 08:56:38 2021 +0000
+++ b/Serial_Writer.h Fri May 07 08:58:28 2021 +0000
@@ -39,8 +39,8 @@
for (int _byte=num_0-1;_byte>=0;p++,_byte--)get[k]|=buffer[p]<<(8*_byte);
}
return 0;//正常終了
- }else return -1;//異常終了1
- }else return -2;//異常終了2
+ }else return -1;//異常終了1(正しく受信していない)
+ }else return -2;//異常終了2(受信しない)
}
private: