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:
parent
e78b544139
commit
1edb0fe33d
2 changed files with 27 additions and 27 deletions
|
@ -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 == '$') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue