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:
parent
ce2c3e28bd
commit
385623bd9d
40 changed files with 101 additions and 101 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue