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