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:
parent
f1bf914404
commit
e88eba1009
2 changed files with 20 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue