Skip to content

Commit

Permalink
vtx: check for in_air to allow for using AUX_FPV_SWITCH on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Jan 22, 2022
1 parent 3cd8a0b commit 10bbdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/vtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void vtx_update() {
return;
}

if (!flags.on_ground) {
if (flags.in_air) {
// never try to do vtx stuff in-air
return;
}
Expand Down

0 comments on commit 10bbdea

Please sign in to comment.