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

Added speed / altitude readings from vario / baro to HoTT, in case of no GPS fix.

This commit is contained in:
mikeller 2016-12-07 00:03:28 +13:00 committed by Michael Keller
parent f1bf914404
commit e88eba1009
2 changed files with 20 additions and 3 deletions

View file

@ -33,6 +33,7 @@ extern "C" {
#include "sensors/sensors.h"
#include "sensors/battery.h"
#include "sensors/barometer.h"
#include "io/serial.h"
#include "io/gps.h"
@ -172,6 +173,9 @@ int32_t mAhDrawn;
uint32_t fixedMillis = 0;
baro_t baro;
uint16_t vario;
uint32_t millis(void) {
return fixedMillis;
}