mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Merge pull request #6233 from leocb/add-gforce-osd
Added G-Force to the OSD
This commit is contained in:
commit
e2cf7fc238
8 changed files with 25 additions and 1 deletions
|
@ -49,6 +49,7 @@ extern "C" {
|
|||
#include "io/gps.h"
|
||||
#include "io/osd.h"
|
||||
|
||||
#include "sensors/acceleration.h"
|
||||
#include "sensors/battery.h"
|
||||
|
||||
#include "rx/rx.h"
|
||||
|
@ -69,6 +70,9 @@ extern "C" {
|
|||
int32_t GPS_coord[2];
|
||||
gpsSolutionData_t gpsSol;
|
||||
|
||||
acc_t acc;
|
||||
float accAverage[XYZ_AXIS_COUNT];
|
||||
|
||||
PG_REGISTER(batteryConfig_t, batteryConfig, PG_BATTERY_CONFIG, 0);
|
||||
PG_REGISTER(blackboxConfig_t, blackboxConfig, PG_BLACKBOX_CONFIG, 0);
|
||||
PG_REGISTER(systemConfig_t, systemConfig, PG_SYSTEM_CONFIG, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue