1
0
Fork 0
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:
Martin Budden 2016-10-05 08:33:35 +01:00
parent 4baa995ebc
commit ea6b459ead
7 changed files with 20 additions and 31 deletions

View file

@ -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)