Add missing variable initialization in MSP_VTX_CONFIG
commitad4d46a1f9c165e62caf5a994dbe6594a076d4dd
authorBruce Luckcuck <github@etracer.net>
Wed, 11 Sep 2019 13:00:51 +0000 (11 09:00 -0400)
committerBruce Luckcuck <github@etracer.net>
Wed, 11 Sep 2019 13:00:51 +0000 (11 09:00 -0400)
treed24e89d9690b4ffcca92d704e2886e05a4bbf108
parent2a182094920635c6cc1ad54c770b0ca6a7d3ba1f
Add missing variable initialization in MSP_VTX_CONFIG
If the `vtxDevice` was not valid then the `vtxStatus` variable never got initialized but was still used in the pit mode flag determination - leading to random behavior.
src/main/msp/msp.c