mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Fixing a comma that should have been a semi-colon in the code. Fixing
some trailing spaces.
This commit is contained in:
parent
bf59943578
commit
ce3b7859da
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ void resetBuffers(softSerial_t *softSerial)
|
|||
softSerial->port.rxBufferHead = 0;
|
||||
|
||||
softSerial->port.txBuffer = softSerial->txBuffer;
|
||||
softSerial->port.txBufferSize = SOFT_SERIAL_BUFFER_SIZE,
|
||||
softSerial->port.txBufferSize = SOFT_SERIAL_BUFFER_SIZE;
|
||||
softSerial->port.txBufferTail = 0;
|
||||
softSerial->port.txBufferHead = 0;
|
||||
}
|
||||
|
@ -286,7 +286,7 @@ void extractAndStoreRxByte(softSerial_t *softSerial)
|
|||
softSerial->receiveErrors++;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
uint8_t rxByte = (softSerial->internalRxBuffer >> 1) & 0xFF;
|
||||
softSerial->port.rxBuffer[softSerial->port.rxBufferTail] = rxByte;
|
||||
updateBufferIndex(softSerial);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue