From d60af095baffe4b47db7ec469a9b14b4dbcfea82 Mon Sep 17 00:00:00 2001 From: winneymj Date: Tue, 29 Sep 2020 17:55:06 -0500 Subject: [PATCH] Fix spacing --- targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c index 4b77ade7e1..3cd900edca 100644 --- a/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c +++ b/targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c @@ -502,15 +502,15 @@ int spi_master_write(spi_t *obj, int value) } /* Transfer 1 byte. */ - #if NRFX_CHECK(NRFX_SPIM_ENABLED) +#if NRFX_CHECK(NRFX_SPIM_ENABLED) nrfx_spim_xfer_desc_t desc = NRFX_SPIM_XFER_TRX(&tx_buff, 1, &rx_buff, 1); - #elif NRFX_CHECK(NRFX_SPI_ENABLED) +#elif NRFX_CHECK(NRFX_SPI_ENABLED) nrfx_spi_xfer_desc_t desc = NRFX_SPI_XFER_TRX(&tx_buff, 1, &rx_buff, 1); #endif - #if NRFX_CHECK(NRFX_SPIM_ENABLED) +#if NRFX_CHECK(NRFX_SPIM_ENABLED) ret = nrfx_spim_xfer(&nordic_nrf5_spim_instance[instance], &desc, 0); - #elif NRFX_CHECK(NRFX_SPI_ENABLED) +#elif NRFX_CHECK(NRFX_SPI_ENABLED) ret = nrfx_spi_xfer(&nordic_nrf5_spi_instance[instance], &desc, 0); #endif