1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00

Fix building without USE_VTX_*

This commit is contained in:
Michel Pastor 2018-07-25 16:57:59 +02:00
parent 9d73b0862e
commit 972f74bf60
3 changed files with 4 additions and 3 deletions

View file

@ -652,7 +652,7 @@ void init(void)
pitotStartCalibration();
#endif
#ifdef USE_VTX_CONTROL
#if defined(USE_VTX_COMMON) && defined(USE_VTX_CONTROL)
vtxControlInit();
#if defined(USE_VTX_COMMON)
@ -668,7 +668,7 @@ void init(void)
vtxTrampInit();
#endif
#endif // USE_VTX_CONTROL
#endif // USE_VTX_COMMON && USE_VTX_CONTROL
// Now that everything has powered up the voltage and cell count be determined.
if (feature(FEATURE_VBAT | FEATURE_CURRENT_METER))