Skip to content

Commit 91a906c

Browse files
jeromecoutantpaul-szczepanek-arm
authored andcommitted
Update lora_radio_helper.h for STM32WL_LoRaRadio
1 parent 610c9cd commit 91a906c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lora_radio_helper.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ SX126X_LoRaRadio radio(MBED_CONF_SX126X_LORA_DRIVER_SPI_MOSI,
7878

7979
#elif (TARGET_STM32WL)
8080
#include "STM32WL_LoRaRadio.h"
81-
STM32WL_LoRaRadio radio(MBED_CONF_STM32WL_LORA_DRIVER_RF_SWITCH_CTL1,
82-
MBED_CONF_STM32WL_LORA_DRIVER_RF_SWITCH_CTL2,
83-
MBED_CONF_STM32WL_LORA_DRIVER_RF_SWITCH_CTL3);
81+
STM32WL_LoRaRadio radio;
8482
#else
8583
#error "Unknown LoRa radio specified (SX126X, SX1272, SX1276, STM32WL are valid)"
8684
#endif

0 commit comments

Comments
 (0)