mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Better split between MSP and serial
This commit is contained in:
parent
92d2e3ae91
commit
b8260fdf40
4 changed files with 88 additions and 96 deletions
|
@ -18,6 +18,9 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
typedef void (*mspPostProcessFuncPtr)(mspPort_t *); // msp post process function, used for gracefully handling reboots, etc.
|
||||
extern mspPostProcessFuncPtr mspPostProcessFn;
|
||||
|
||||
void mspInit(void);
|
||||
bool mspProcessReceivedData(uint8_t c);
|
||||
void mspProcessReceivedCommand(void);
|
||||
bool mspProcessReceivedData(mspPort_t *mspPort, uint8_t c);
|
||||
void mspProcessReceivedCommand(mspPort_t *mspPort);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue