vasko ozo
/
TxRxService
20190816
Diff: TxRxService.cpp
- Revision:
- 13:b9e066badefa
- Parent:
- 11:6519744c77f9
- Child:
- 14:b113f676ef42
--- a/TxRxService.cpp Sat Aug 03 21:21:01 2019 +0000 +++ b/TxRxService.cpp Sun Aug 04 09:56:54 2019 +0000 @@ -8,7 +8,7 @@ uint8_t TxBuff[ArrTxSize]; uint8_t *pArrTx = &ArrTx[0]; uint8_t *pArrRx = &ArrRx[0]; -bool ArrRxCmplt = 0; +bool RxBuffFull = 0; bool ArrTxBusy = 0; bool TxBuffFull = 0; @@ -32,7 +32,7 @@ *pArrRx = pc.getc(); if ( pArrRx++ >= &ArrRx[ArrRxSize-1] ) { pArrRx = &ArrRx[0]; - ArrRxCmplt = 1; + RxBuffFull = 1; memcpy(&RxBuff, &ArrRx, ArrTxSize); } }//IntrRx