mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Reset msp handling upon receipt of new incoming frames in msp_shared
This commit is contained in:
parent
9b0e0a4f20
commit
5ccd39843d
8 changed files with 17 additions and 24 deletions
|
@ -24,11 +24,6 @@ typedef union mspTxBuffer_u {
|
|||
uint8_t crsfMspTxBuffer[CRSF_MSP_TX_BUF_SIZE];
|
||||
} mspTxBuffer_t;
|
||||
|
||||
typedef enum mspFrameHandling_e {
|
||||
MSP_FRAME_HANDLING_NORMAL,
|
||||
MSP_FRAME_HANDLING_FORCED
|
||||
} mspFrameHandling_t;
|
||||
|
||||
void initSharedMsp();
|
||||
bool handleMspFrame(uint8_t *frameStart, uint8_t *frameEnd, mspFrameHandling_t handling);
|
||||
bool handleMspFrame(uint8_t *frameStart, uint8_t *frameEnd);
|
||||
bool sendMspReply(uint8_t payloadSize, mspResponseFnPtr responseFn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue