Skip to content

Instantly share code, notes, and snippets.

@segfly
segfly / vtx.lua
Created February 23, 2019 17:05 — forked from ghostface/vtx.lua
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)
--

Keybase proof

I hereby claim:

  • I am segfly on github.
  • I am segfly (https://keybase.io/segfly) on keybase.
  • I have a public key ASAiJvU62JLl3fn83b_QDDQ0Nj7BSJP9m79uvLhxPpMDxQo

To claim this, I am signing this object:

@segfly
segfly / .gitconfig
Last active April 26, 2016 15:35
Git aliases and other configurations I like to apply to Cloud 9 workspaces
###### BEGIN Entries from http://git.io/vO5fH
[core]
# Allows the C9 editor to be used for git
# editor = c9 --wait
# Forces output direct to C9 terminal
pager = cat && echo
[alias]
# Visualize log. Thanks to http://stackoverflow.com/a/9074343
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%w(120)%C(bold blue)%h%C(reset) %C(bold yellow)(%ar)%C(reset) %C(auto)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all