1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Converted defines for VTX_COMMON, VTX_CONTROL, VTX_RTC6705, VTX_RTC6705SOFTSPI, VTX_TRAMP, VTX_SMARTAUDIO to use USE_ prefix.

This commit is contained in:
mikeller 2018-01-09 17:34:34 +13:00
parent ce2c3e28bd
commit 385623bd9d
40 changed files with 101 additions and 101 deletions

View file

@ -578,7 +578,7 @@ static void applyLedWarningLayer(bool updateNow, timeUs_t *timer)
}
}
#ifdef VTX_COMMON
#ifdef USE_VTX_COMMON
static void applyLedVtxLayer(bool updateNow, timeUs_t *timer)
{
static uint16_t frequency = 0;
@ -1000,7 +1000,7 @@ typedef enum {
timGps,
#endif
timWarning,
#ifdef VTX_COMMON
#ifdef USE_VTX_COMMON
timVtx,
#endif
timIndicator,
@ -1029,7 +1029,7 @@ static applyLayerFn_timed* layerTable[] = {
[timGps] = &applyLedGpsLayer,
#endif
[timWarning] = &applyLedWarningLayer,
#ifdef VTX_COMMON
#ifdef USE_VTX_COMMON
[timVtx] = &applyLedVtxLayer,
#endif
[timIndicator] = &applyLedIndicatorLayer,