T18 default build

This commit is contained in:
Pascal Langer 2021-02-21 18:56:48 +01:00
parent 2f07e79e50
commit 9106548859
2 changed files with 6 additions and 3 deletions

View File

@ -735,8 +735,8 @@ enum CYRF_POWER
#define CYRF_BIND_POWER CYRF_POWER_0
// SX1276
#define JP_T18 0
#define JP_TLite 1
#define JP_T18 1
#define JP_TLite 2
enum TXRX_State {
TXRX_OFF,

View File

@ -217,9 +217,12 @@
#if not defined(STM32_BOARD)
#error "Error MULTI_5IN1_INTERNAL is only for STM32 boards."
#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
#endif
#if MULTI_5IN1_INTERNAL > JP_TLite
#error "Invalid value for MULTI_5IN1_INTERNAL."
#endif
#define A7105_INSTALLED
#define CYRF6936_INSTALLED
#define CC2500_INSTALLED