mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Tidy up msp related #includes
This commit is contained in:
parent
4baa995ebc
commit
ea6b459ead
7 changed files with 20 additions and 31 deletions
|
@ -898,8 +898,14 @@ void taskUpdateAttitude(uint32_t currentTime)
|
|||
void taskHandleSerial(uint32_t currentTime)
|
||||
{
|
||||
UNUSED(currentTime);
|
||||
|
||||
handleSerial();
|
||||
#ifdef USE_CLI
|
||||
// in cli mode, all serial stuff goes to here. enter cli mode by sending #
|
||||
if (cliMode) {
|
||||
cliProcess();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
mspSerialProcess();
|
||||
}
|
||||
|
||||
void taskUpdateBeeper(uint32_t currentTime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue