diff --git a/cores/STM32WLE/component/service/lora/service_lora.c b/cores/STM32WLE/component/service/lora/service_lora.c index 1bef1fc9..749bbe14 100755 --- a/cores/STM32WLE/component/service/lora/service_lora.c +++ b/cores/STM32WLE/component/service/lora/service_lora.c @@ -116,6 +116,7 @@ extern bool udrv_powersave_in_sleep; extern uint8_t last_tx_channel; static udrv_system_event_t rui_lora_join_cb_event = {.request = UDRV_SYS_EVT_OP_LORAWAN_JOIN_CB, .p_context = NULL}; +#ifdef SUPPORT_FUOTA static LmhpFragmentationParams_t LmhpFragmentationParam1 = { /*.DecoderCallbacks = @@ -126,6 +127,7 @@ static LmhpFragmentationParams_t LmhpFragmentationParam1 = .OnProgress = fuota_OnFragProgress, .OnDone = fuota_OnFragDone,*/ }; +#endif // SUPPORT_FUOTA static SingleChannel_t SingleChannelAU915 = {