Skip to content
Commit e78a6ab2 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

spi: nrfx_spi*: only run uninit if configured



Only run the `uninit` function if the SPI instance has previously been
configured. This stops an assertion in the HAL drivers from triggering
due to running `uninit` without a previous `init`.

Fixes #42299.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 6bbf1e7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment