1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Merge pull request #1763 from mikeller/add_hott_alternate_speed_altitude

Added speed / altitude readings from vario / baro to HoTT, in case of no GPS fix.
This commit is contained in:
Michael Keller 2016-12-29 13:06:16 +13:00 committed by GitHub
commit 8c371d7b49
2 changed files with 11 additions and 1 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,8 @@ int32_t mAhDrawn;
uint32_t fixedMillis = 0;
baro_t baro;
uint32_t millis(void) {
return fixedMillis;
}