mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Enable HoTT as a telemetry provider.
Import cGiensen's HoTT telemetry implementation - untested.
This commit is contained in:
parent
08ee21cd58
commit
3ca868a59f
13 changed files with 499 additions and 14 deletions
5
src/mw.c
5
src/mw.c
|
@ -1,6 +1,7 @@
|
|||
#include "board.h"
|
||||
#include "mw.h"
|
||||
|
||||
#include "cli.h"
|
||||
#include "telemetry_common.h"
|
||||
|
||||
// June 2013 V2.2-dev
|
||||
|
@ -206,6 +207,10 @@ void annexCode(void)
|
|||
|
||||
serialCom();
|
||||
|
||||
if (!cliMode && feature(FEATURE_TELEMETRY)) {
|
||||
handleTelemetry();
|
||||
}
|
||||
|
||||
if (sensors(SENSOR_GPS)) {
|
||||
static uint32_t GPSLEDTime;
|
||||
if ((int32_t)(currentTime - GPSLEDTime) >= 0 && (GPS_numSat >= 5)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue