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:
commit
8c371d7b49
2 changed files with 11 additions and 1 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,8 @@ int32_t mAhDrawn;
|
|||
|
||||
uint32_t fixedMillis = 0;
|
||||
|
||||
baro_t baro;
|
||||
|
||||
uint32_t millis(void) {
|
||||
return fixedMillis;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue