From fc52254091d9529ec02a6020ee412ac887d16ec3 Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Mon, 19 Aug 2024 19:29:23 +0200 Subject: [PATCH] Setting power level causes configurator to crash. This fixes that. --- tabs/configuration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/configuration.js b/tabs/configuration.js index 713b8b76e..d1a44ab42 100644 --- a/tabs/configuration.js +++ b/tabs/configuration.js @@ -175,7 +175,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) { option.appendTo(vtx_power); } vtx_power.on('change', function () { - FC.FC.VTX_CONFIG.power = parseInt($(this).val()); + FC.VTX_CONFIG.power = parseInt($(this).val()); }); var vtx_low_power_disarm = $('#vtx_low_power_disarm');