AP_OSD: set default type for boards with onboard OSD
This commit is contained in:
parent
d204939cb2
commit
47463e8159
@ -150,6 +150,10 @@ AP_OSD::AP_OSD()
|
|||||||
#ifdef WITH_SITL_OSD
|
#ifdef WITH_SITL_OSD
|
||||||
osd_type.set_default(2);
|
osd_type.set_default(2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAL_OSD_TYPE_DEFAULT
|
||||||
|
osd_type.set_default(HAL_OSD_TYPE_DEFAULT);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void AP_OSD::init()
|
void AP_OSD::init()
|
||||||
|
Loading…
Reference in New Issue
Block a user