mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Added OSD status to CLI 'status' output.
This commit is contained in:
parent
f53d812fc8
commit
099e0a6064
8 changed files with 24 additions and 12 deletions
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include "common/time.h"
|
||||
|
||||
#include "drivers/display.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
|
||||
#include "sensors/esc_sensor.h"
|
||||
|
@ -319,8 +321,7 @@ extern float osdGForce;
|
|||
extern escSensorData_t *osdEscDataCombined;
|
||||
#endif
|
||||
|
||||
struct displayPort_s;
|
||||
void osdInit(struct displayPort_s *osdDisplayPort, osdDisplayPortDevice_e displayPortDevice);
|
||||
void osdInit(displayPort_t *osdDisplayPort, osdDisplayPortDevice_e displayPortDevice);
|
||||
bool osdInitialized(void);
|
||||
void osdUpdate(timeUs_t currentTimeUs);
|
||||
void osdStatSetState(uint8_t statIndex, bool enabled);
|
||||
|
@ -336,4 +337,4 @@ bool osdElementVisible(uint16_t value);
|
|||
bool osdGetVisualBeeperState(void);
|
||||
statistic_t *osdGetStats(void);
|
||||
bool osdNeedsAccelerometer(void);
|
||||
struct displayPort_s *osdGetDisplayPort(osdDisplayPortDevice_e *displayPortDevice);
|
||||
displayPort_t *osdGetDisplayPort(osdDisplayPortDevice_e *displayPortDevice);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue