Fix scanner compilation issue

This commit is contained in:
Pascal Langer 2019-09-11 12:23:36 +02:00
parent 7d327c1622
commit 303c4615e9
4 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 2
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 75
#define VERSION_PATCH_LEVEL 76
//******************
// Protocols

View File

@ -116,7 +116,6 @@ uint8_t num_ch;
#ifdef CC2500_INSTALLED
#ifdef SCANNER_CC2500_INO
uint8_t calData[255];
#define SCAN_CHANS_PER_PACKET 5
#else
uint8_t calData[50];
#endif

View File

@ -20,6 +20,7 @@
#define SCAN_MAX_RADIOCHANNEL 249 // 2483 MHz
#define SCAN_CHANNEL_LOCK_TIME 300 // with precalibration, channel requires only 90 usec for synthesizer to settle
#define SCAN_AVERAGE_INTVL 30
#define SCAN_CHANS_PER_PACKET 5
static uint8_t scan_tlm_index;

View File

@ -254,6 +254,9 @@
#if defined MULTI_TELEMETRY && not defined INVERT_TELEMETRY
#warning MULTI_TELEMETRY has been defined but not INVERT_TELEMETRY. They should be both enabled for OpenTX telemetry and status to work.
#endif
#if not defined(SCANNER_CC2500_INO)
#undef SCANNER_TELEMETRY
#endif
#if not defined(BAYANG_NRF24L01_INO)
#undef BAYANG_HUB_TELEMETRY
#endif