Plane: allow OSD for TX-only screens
This commit is contained in:
parent
304d05f918
commit
fa454da315
@ -1085,7 +1085,7 @@ const AP_Param::Info Plane::var_info[] = {
|
||||
// @Path: ../libraries/AP_Landing/AP_Landing.cpp
|
||||
GOBJECT(landing, "LAND_", AP_Landing),
|
||||
|
||||
#if OSD_ENABLED
|
||||
#if OSD_ENABLED || OSD_PARAM_ENABLED
|
||||
// @Group: OSD
|
||||
// @Path: ../libraries/AP_OSD/AP_OSD.cpp
|
||||
GOBJECT(osd, "OSD", AP_OSD),
|
||||
|
@ -253,7 +253,7 @@ private:
|
||||
// Rally Ponints
|
||||
AP_Rally rally;
|
||||
|
||||
#if OSD_ENABLED == ENABLED
|
||||
#if OSD_ENABLED || OSD_PARAM_ENABLED
|
||||
AP_OSD osd;
|
||||
#endif
|
||||
|
||||
@ -974,7 +974,7 @@ private:
|
||||
void update_control_mode(void);
|
||||
void update_flight_stage();
|
||||
void set_flight_stage(AP_Vehicle::FixedWing::FlightStage fs);
|
||||
#if OSD_ENABLED == ENABLED
|
||||
#if OSD_ENABLED || OSD_PARAM_ENABLED
|
||||
void publish_osd_info();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user