mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Rover: allow OSD for TX-only screens
This commit is contained in:
parent
fa454da315
commit
bfd24ea789
@ -369,7 +369,7 @@ const AP_Param::Info Rover::var_info[] = {
|
||||
// @Path: Parameters.cpp
|
||||
GOBJECT(g2, "", ParametersG2),
|
||||
|
||||
#if OSD_ENABLED == ENABLED
|
||||
#if OSD_ENABLED || OSD_PARAM_ENABLED
|
||||
// @Group: OSD
|
||||
// @Path: ../libraries/AP_OSD/AP_OSD.cpp
|
||||
GOBJECT(osd, "OSD", AP_OSD),
|
||||
|
@ -165,7 +165,7 @@ private:
|
||||
OpticalFlow optflow;
|
||||
#endif
|
||||
|
||||
#if OSD_ENABLED == ENABLED
|
||||
#if OSD_ENABLED || OSD_PARAM_ENABLED
|
||||
AP_OSD osd;
|
||||
#endif
|
||||
|
||||
@ -390,7 +390,7 @@ private:
|
||||
bool should_log(uint32_t mask);
|
||||
bool is_boat() const;
|
||||
|
||||
#if OSD_ENABLED == ENABLED
|
||||
#if OSD_ENABLED || OSD_PARAM_ENABLED
|
||||
void publish_osd_info();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user