1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Move MSP_EEPROM_WRITE check to handleMspFrame

This commit is contained in:
Hans Christian Olaussen 2018-12-06 19:22:59 +01:00
parent bfabf48ca7
commit 4fb82f8d34
4 changed files with 14 additions and 14 deletions

View file

@ -46,5 +46,5 @@ typedef union mspTxBuffer_u {
} mspTxBuffer_t;
void initSharedMsp(void);
bool handleMspFrame(uint8_t *frameStart, int frameLength);
bool handleMspFrame(uint8_t *frameStart, int frameLength, uint8_t *skipsBeforeResponse);
bool sendMspReply(uint8_t payloadSize, mspResponseFnPtr responseFn);