diff --git a/subsys/mpsl/fem/simple_gpio/mpsl_fem_simple_gpio.c b/subsys/mpsl/fem/simple_gpio/mpsl_fem_simple_gpio.c index 2d2a50c29566..081ade9cdd8a 100644 --- a/subsys/mpsl/fem/simple_gpio/mpsl_fem_simple_gpio.c +++ b/subsys/mpsl/fem/simple_gpio/mpsl_fem_simple_gpio.c @@ -30,7 +30,7 @@ static int fem_simple_gpio_configure(void) int err; #if DT_NODE_HAS_PROP(DT_NODELABEL(nrf_radio_fem), ctx_gpios) - uint8_t ctx_gpiote_channel; + uint8_t ctx_gpiote_channel = MPSL_FEM_GPIOTE_INVALID_CHANNEL; const nrfx_gpiote_t ctx_gpiote = NRFX_GPIOTE_INSTANCE( NRF_DT_GPIOTE_INST(DT_NODELABEL(nrf_radio_fem), ctx_gpios)); @@ -40,7 +40,7 @@ static int fem_simple_gpio_configure(void) #endif #if DT_NODE_HAS_PROP(DT_NODELABEL(nrf_radio_fem), crx_gpios) - uint8_t crx_gpiote_channel; + uint8_t crx_gpiote_channel = MPSL_FEM_GPIOTE_INVALID_CHANNEL; const nrfx_gpiote_t crx_gpiote = NRFX_GPIOTE_INSTANCE( NRF_DT_GPIOTE_INST(DT_NODELABEL(nrf_radio_fem), crx_gpios));