fixed pre-processor directives

This commit is contained in:
Raphael Coeffic 2017-01-15 14:11:49 +01:00
parent c29f8a79ed
commit 07659576b1
3 changed files with 6 additions and 2 deletions

View File

@ -2,9 +2,13 @@
#include <stdint.h>
#if defined(VTX_CONTROL)
extern const uint16_t vtx58FreqTable[5][8];
extern const char * const vtx58BandNames[];
extern const char * const vtx58ChannelNames[];
extern const char vtx58BandLetter[];
bool vtx58_Freq2Bandchan(uint16_t freq, uint8_t *pBand, uint8_t *pChan);
#endif

View File

@ -23,7 +23,7 @@
#include "platform.h"
#ifdef VTX_SMARTAUDIO
#if defined(VTX_SMARTAUDIO) && defined(VTX_CONTROL)
#include "cms/cms.h"
#include "cms/cms_types.h"

View File

@ -24,7 +24,7 @@
#include "platform.h"
#ifdef VTX_TRAMP
#if defined(VTX_TRAMP) && defined(VTX_CONTROL)
#include "build/debug.h"