1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 05:45:31 +03:00

Enable HoTT as a telemetry provider.

Import cGiensen's HoTT telemetry implementation - untested.
This commit is contained in:
Dominic Clifton 2014-04-06 23:34:37 +01:00
parent 08ee21cd58
commit 3ca868a59f
13 changed files with 499 additions and 14 deletions

View file

@ -1,6 +1,7 @@
#include "board.h"
#include "mw.h"
#include "cli.h"
#include "telemetry_common.h"
// Multiwii Serial Protocol 0
@ -114,8 +115,6 @@ static const char pidnames[] =
static uint8_t checksum, indRX, inBuf[INBUF_SIZE];
static uint8_t cmdMSP;
// signal that we're in cli mode
uint8_t cliMode = 0;
void serialize32(uint32_t a)
{
@ -696,7 +695,4 @@ void serialCom(void)
c_state = IDLE;
}
}
if (!cliMode && feature(FEATURE_TELEMETRY)) { // The first condition should never evaluate to true but I'm putting it here anyway - silpstream
sendTelemetry();
}
}