From 28e97e15ae15bf9c153465fb8b985e3b0e2b7864 Mon Sep 17 00:00:00 2001 From: phobos- Date: Fri, 8 Mar 2024 14:38:01 +0100 Subject: [PATCH] Fixed VTX pwm array initialization --- src/lib/VTXSPI/devVTXSPI.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/VTXSPI/devVTXSPI.cpp b/src/lib/VTXSPI/devVTXSPI.cpp index c47d4d5195..6b12a6f9f4 100644 --- a/src/lib/VTXSPI/devVTXSPI.cpp +++ b/src/lib/VTXSPI/devVTXSPI.cpp @@ -341,6 +341,8 @@ static void initialize() #if defined(TARGET_UNIFIED_RX) VpdSetPointArray25mW = VPD_VALUES_25MW; VpdSetPointArray100mW = VPD_VALUES_100MW; + PwmArray25mW = PWM_VALUES_25MW; + PwmArray100mW = PWM_VALUES_100MW; #endif if (GPIO_PIN_SPI_VTX_NSS != UNDEF_PIN)