1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00

Split out MSP_DATAFLASH_READ command into separate function

This commit is contained in:
Martin Budden 2016-10-18 21:18:21 +01:00
parent e78b544139
commit 1edb0fe33d
2 changed files with 27 additions and 27 deletions

View file

@ -74,7 +74,7 @@ void mspSerialReleasePortIfAllocated(serialPort_t *serialPort)
}
}
static bool mspSerialProcessReceivedData(mspPort_t * mspPort, uint8_t c)
static bool mspSerialProcessReceivedData(mspPort_t *mspPort, uint8_t c)
{
if (mspPort->c_state == MSP_IDLE) {
if (c == '$') {