diff --git a/Core/Inc/platform.h b/Core/Inc/platform.h index 6bb9bf9..1f78fbb 100644 --- a/Core/Inc/platform.h +++ b/Core/Inc/platform.h @@ -28,9 +28,9 @@ extern "C" { /* Exported constants --------------------------------------------------------*/ -//#define USE_BSP_DRIVER +#define USE_BSP_DRIVER /* USER CODE BEGIN EC */ -#define YUNHORN_STS_WLE5CCxx 1 +//#define YUNHORN_STS_WLE5CCxx 1 /* USER CODE END EC */ /* Includes ------------------------------------------------------------------*/ diff --git a/LoRaWAN/Target/radio_board_if.h b/LoRaWAN/Target/radio_board_if.h index 187e0d4..09d8e4d 100644 --- a/LoRaWAN/Target/radio_board_if.h +++ b/LoRaWAN/Target/radio_board_if.h @@ -151,6 +151,12 @@ typedef enum RBI_SWITCH_RFO_LP = RADIO_SWITCH_RFO_LP, RBI_SWITCH_RFO_HP = RADIO_SWITCH_RFO_HP, } RBI_Switch_TypeDef; +typedef enum +{ + RBI_RFO_LP_MAXPOWER = 0, + RBI_RFO_HP_MAXPOWER = 1, +} RBI_RFOMaxPowerConfig_TypeDef; + #elif defined(YUNHORN_STS_WLE5CCxx) typedef enum {