AP_OSD: set default type for boards with onboard OSD

This commit is contained in:
vierfuffzig 2018-11-01 11:10:21 +11:00 committed by Andrew Tridgell
parent d204939cb2
commit 47463e8159
1 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,10 @@ AP_OSD::AP_OSD()
#ifdef WITH_SITL_OSD
osd_type.set_default(2);
#endif
#ifdef HAL_OSD_TYPE_DEFAULT
osd_type.set_default(HAL_OSD_TYPE_DEFAULT);
#endif
}
void AP_OSD::init()