Skip to content

Instantly share code, notes, and snippets.

@ghostface
ghostface / vtx.lua
Last active October 16, 2022 15:27
VTX Power switching via transmitter switch (Opentx/Betaflight/Tramp/Smartaudio)
--
-- *Fixed version of wkochFPV for BF 3.5
-- Original: https://github.com/betaflight/betaflight/issues/3094#issuecomment-302953603
-- Note: If you put it on a 3-way switch and go from first to third position fast it may not register correctly so better step through slowly
--
-- *Changes:
-- Corrected loading of dependencies
-- Shortened filename to make it compatible with latest opentx restrictions
-- Added a condition in the script for pit mode (vtx power 0 alone didn't work for me)
--