mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 09:45:33 +03:00
[VTX] Remove VTX_COMMON which is always defined
This commit is contained in:
parent
255d08d37d
commit
9f7bc59337
13 changed files with 11 additions and 58 deletions
|
@ -637,13 +637,10 @@ void init(void)
|
|||
pitotStartCalibration();
|
||||
#endif
|
||||
|
||||
#if defined(USE_VTX_COMMON) && defined(USE_VTX_CONTROL)
|
||||
#if defined(USE_VTX_CONTROL)
|
||||
vtxControlInit();
|
||||
|
||||
#if defined(USE_VTX_COMMON)
|
||||
vtxCommonInit();
|
||||
vtxInit();
|
||||
#endif
|
||||
|
||||
#ifdef USE_VTX_SMARTAUDIO
|
||||
vtxSmartAudioInit();
|
||||
|
@ -653,7 +650,11 @@ void init(void)
|
|||
vtxTrampInit();
|
||||
#endif
|
||||
|
||||
#endif // USE_VTX_COMMON && USE_VTX_CONTROL
|
||||
#ifdef USE_VTX_FFPV
|
||||
vtxTrampInit();
|
||||
#endif
|
||||
|
||||
#endif // USE_VTX_CONTROL
|
||||
|
||||
// Now that everything has powered up the voltage and cell count be determined.
|
||||
if (feature(FEATURE_VBAT | FEATURE_CURRENT_METER))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue