mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 21:58:10 +00:00
T18 default build
This commit is contained in:
parent
2f07e79e50
commit
9106548859
@ -735,8 +735,8 @@ enum CYRF_POWER
|
|||||||
#define CYRF_BIND_POWER CYRF_POWER_0
|
#define CYRF_BIND_POWER CYRF_POWER_0
|
||||||
|
|
||||||
// SX1276
|
// SX1276
|
||||||
#define JP_T18 0
|
#define JP_T18 1
|
||||||
#define JP_TLite 1
|
#define JP_TLite 2
|
||||||
|
|
||||||
enum TXRX_State {
|
enum TXRX_State {
|
||||||
TXRX_OFF,
|
TXRX_OFF,
|
||||||
|
@ -217,9 +217,12 @@
|
|||||||
#if not defined(STM32_BOARD)
|
#if not defined(STM32_BOARD)
|
||||||
#error "Error MULTI_5IN1_INTERNAL is only for STM32 boards."
|
#error "Error MULTI_5IN1_INTERNAL is only for STM32 boards."
|
||||||
#endif
|
#endif
|
||||||
#if ! MULTI_5IN1_INTERNAL+0
|
#if ! (MULTI_5IN1_INTERNAL + 0)
|
||||||
#define MULTI_5IN1_INTERNAL JP_T18 // make JP_T18 default if it has not been explicitly declared
|
#define MULTI_5IN1_INTERNAL JP_T18 // make JP_T18 default if it has not been explicitly declared
|
||||||
#endif
|
#endif
|
||||||
|
#if MULTI_5IN1_INTERNAL > JP_TLite
|
||||||
|
#error "Invalid value for MULTI_5IN1_INTERNAL."
|
||||||
|
#endif
|
||||||
#define A7105_INSTALLED
|
#define A7105_INSTALLED
|
||||||
#define CYRF6936_INSTALLED
|
#define CYRF6936_INSTALLED
|
||||||
#define CC2500_INSTALLED
|
#define CC2500_INSTALLED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user