Takeuchi Issei
/
Serial_Writer-re
Serial_Writerの受信側
Diff: Serial_Writer.h
- Revision:
- 1:ace5fce2d493
- Parent:
- 0:7babc610f171
- Child:
- 2:9e785d92712d
diff -r 7babc610f171 -r ace5fce2d493 Serial_Writer.h --- a/Serial_Writer.h Fri May 07 08:56:25 2021 +0000 +++ b/Serial_Writer.h Fri May 07 08:58:40 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: