diff --git a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h index 13dbe946b7..557a4530e3 100644 --- a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h +++ b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/objects.h @@ -46,7 +46,7 @@ #if NRFX_SPIM_ENABLED #include "nrfx_spim.h" #elif NRFX_SPI_ENABLED -#include "nrfx_spim.h" +#include "nrfx_spi.h" #endif #include "nrf_twi.h"