1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +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

@ -42,7 +42,6 @@
#endif
#include "io/serial.h"
#include "serial_cli.h"
#include "serial_msp.h"
@ -423,19 +422,6 @@ bool serialIsPortAvailable(serialPortIdentifier_e identifier)
return false;
}
void handleSerial(void)
{
#ifdef USE_CLI
// in cli mode, all serial stuff goes to here. enter cli mode by sending #
if (cliMode) {
cliProcess();
return;
}
#endif
mspSerialProcess();
}
void waitForSerialPortToFinishTransmitting(serialPort_t *serialPort)
{
while (!isSerialTransmitBufferEmpty(serialPort)) {