mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-21 01:04:01 +00:00
Update STM32WLE5JCInterface.cpp
This commit is contained in:
parent
c8d77efb0f
commit
86c9c1478d
@ -19,7 +19,9 @@ bool STM32WLE5JCInterface::init()
|
|||||||
RadioLibInterface::init();
|
RadioLibInterface::init();
|
||||||
|
|
||||||
// https://github.com/Seeed-Studio/LoRaWan-E5-Node/blob/main/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.c
|
// https://github.com/Seeed-Studio/LoRaWan-E5-Node/blob/main/Middlewares/Third_Party/SubGHz_Phy/stm32_radio_driver/radio_driver.c
|
||||||
|
#if (!defined(_VARIANT_RAK3172_))
|
||||||
setTCXOVoltage(1.7);
|
setTCXOVoltage(1.7);
|
||||||
|
#endif
|
||||||
|
|
||||||
lora.setRfSwitchTable(rfswitch_pins, rfswitch_table);
|
lora.setRfSwitchTable(rfswitch_pins, rfswitch_table);
|
||||||
|
|
||||||
@ -42,4 +44,4 @@ bool STM32WLE5JCInterface::init()
|
|||||||
return res == RADIOLIB_ERR_NONE;
|
return res == RADIOLIB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ARCH_STM32WL
|
#endif // ARCH_STM32WL
|
||||||
|
Loading…
Reference in New Issue
Block a user