mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 22:58:14 +00:00
Fix scanner compilation issue
This commit is contained in:
parent
7d327c1622
commit
303c4615e9
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_PATCH_LEVEL 75
|
#define VERSION_PATCH_LEVEL 76
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -116,7 +116,6 @@ uint8_t num_ch;
|
|||||||
#ifdef CC2500_INSTALLED
|
#ifdef CC2500_INSTALLED
|
||||||
#ifdef SCANNER_CC2500_INO
|
#ifdef SCANNER_CC2500_INO
|
||||||
uint8_t calData[255];
|
uint8_t calData[255];
|
||||||
#define SCAN_CHANS_PER_PACKET 5
|
|
||||||
#else
|
#else
|
||||||
uint8_t calData[50];
|
uint8_t calData[50];
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#define SCAN_MAX_RADIOCHANNEL 249 // 2483 MHz
|
#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_CHANNEL_LOCK_TIME 300 // with precalibration, channel requires only 90 usec for synthesizer to settle
|
||||||
#define SCAN_AVERAGE_INTVL 30
|
#define SCAN_AVERAGE_INTVL 30
|
||||||
|
#define SCAN_CHANS_PER_PACKET 5
|
||||||
|
|
||||||
static uint8_t scan_tlm_index;
|
static uint8_t scan_tlm_index;
|
||||||
|
|
||||||
|
@ -254,6 +254,9 @@
|
|||||||
#if defined MULTI_TELEMETRY && not defined INVERT_TELEMETRY
|
#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.
|
#warning MULTI_TELEMETRY has been defined but not INVERT_TELEMETRY. They should be both enabled for OpenTX telemetry and status to work.
|
||||||
#endif
|
#endif
|
||||||
|
#if not defined(SCANNER_CC2500_INO)
|
||||||
|
#undef SCANNER_TELEMETRY
|
||||||
|
#endif
|
||||||
#if not defined(BAYANG_NRF24L01_INO)
|
#if not defined(BAYANG_NRF24L01_INO)
|
||||||
#undef BAYANG_HUB_TELEMETRY
|
#undef BAYANG_HUB_TELEMETRY
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user