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:
parent
4baa995ebc
commit
ea6b459ead
7 changed files with 20 additions and 31 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue