mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
AP_OSD: default OSD_TYPE to SITL when enabled with --osd
This commit is contained in:
parent
950be3fc17
commit
dbe096e2f3
@ -87,6 +87,9 @@ AP_OSD::AP_OSD()
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
// default first screen enabled
|
||||
screen[0].enabled = 1;
|
||||
#ifdef WITH_SITL_OSD
|
||||
osd_type.set_default(2);
|
||||
#endif
|
||||
}
|
||||
|
||||
void AP_OSD::init()
|
||||
|
Loading…
Reference in New Issue
Block a user