1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

Enable MSP_DISPLAYPORT on targets with flash > 128 and no OSD

MSP_DISPLAYPORT is used to display CMS on MWOSD, which is useful
for targets without a builtin OSD. Since those targets also have
a bit more flash/ram to spare, we have room for this feature as
long as no builtin OSD is present.
This commit is contained in:
Alberto García Hierro 2019-01-07 23:57:14 +00:00
parent 1df1d97abd
commit f75b2b7d32

View file

@ -29,3 +29,9 @@
# undef USE_DASHBOARD
# undef USE_OLED_UG2864
#endif
// Enable MSP_DISPLAYPORT for F3 targets without builtin OSD,
// since it's used to display CMS on MWOSD
#if !defined(USE_MSP_DISPLAYPORT) && (FLASH_SIZE > 128) && !defined(USE_OSD)
#define USE_MSP_DISPLAYPORT
#endif