vasko ozo
/
TxRxService
20190816
Diff: main.cpp
- Revision:
- 18:bef650cab156
- Parent:
- 16:459ad1bd82fd
- Child:
- 19:09c21f5f0625
diff -r d180adbbd61f -r bef650cab156 main.cpp --- a/main.cpp Mon Aug 05 10:00:04 2019 +0000 +++ b/main.cpp Mon Aug 05 18:17:35 2019 +0000 @@ -16,12 +16,8 @@ while(1) { if ( RxBuffFull == 1 ) { RxBuffFull = 0; -// if(GetCheckSum(&RxBuff.cmd) == RxBuff.cs){ - StartTx(&RxBuff.cmd); - StartTx(&RxBuff.cmd); +// if(GetCheckSum(&RxBuff.cmd) == RxBuff.cs){} if( StartTx(&RxBuff.cmd) == StartOK)myled = 0 ;else myled = 1; -// myled = 0; - // } else myled = 1; } }//while(1) }//main