From 31c55f095cf2eaeb4f00340b1fb1e855c30e4327 Mon Sep 17 00:00:00 2001 From: Roman Lut <11955117+RomanLut@users.noreply.github.com> Date: Sun, 30 Mar 2025 19:53:02 +0200 Subject: [PATCH] fixed crash: MSP displayport UART is assigned, but OSD feature s disabled --- src/main/fc/fc_init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/fc/fc_init.c b/src/main/fc/fc_init.c index 413b6914e14..7983ade44cd 100644 --- a/src/main/fc/fc_init.c +++ b/src/main/fc/fc_init.c @@ -677,7 +677,9 @@ void init(void) #endif #ifdef USE_VTX_MSP - vtxMspInit(); + if (feature(FEATURE_OSD)) { + vtxMspInit(); + } #endif #endif // USE_VTX_CONTROL