1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

cli improvements by simonk

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@117 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop 2012-03-17 08:27:06 +00:00
parent 3748f2b72d
commit 2861482bb6
4 changed files with 2641 additions and 2501 deletions

View file

@ -15,11 +15,6 @@ void serialize8(uint8_t a)
uartWrite(a);
}
void UartSendData()
{
// Data transmission acivated when the ring is not empty
}
void serialCom(void)
{
uint8_t i;
@ -33,8 +28,7 @@ void serialCom(void)
if (uartAvailable()) {
switch (uartRead()) {
case '#':
uartPrint("\r\nEntering CLI Mode, type 'exit' to return\r\n");
cliMode = 1;
cliProcess();
break;
#ifdef BTSERIAL
@ -197,7 +191,6 @@ void serialCom(void)
serialize16(debug3); // debug3
serialize16(debug4); // debug4
serialize8('M');
// UartSendData();
break;
case 'O': // arduino to OSD data - contribution from MIS
serialize8('O');