Skip to content

Commit d60af09

Browse files
committed
Fix spacing
1 parent 38e6bdc commit d60af09

File tree

1 file changed

+4
-4
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52

1 file changed

+4
-4
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/spi_api.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,15 +502,15 @@ int spi_master_write(spi_t *obj, int value)
502502
}
503503

504504
/* Transfer 1 byte. */
505-
#if NRFX_CHECK(NRFX_SPIM_ENABLED)
505+
#if NRFX_CHECK(NRFX_SPIM_ENABLED)
506506
nrfx_spim_xfer_desc_t desc = NRFX_SPIM_XFER_TRX(&tx_buff, 1, &rx_buff, 1);
507-
#elif NRFX_CHECK(NRFX_SPI_ENABLED)
507+
#elif NRFX_CHECK(NRFX_SPI_ENABLED)
508508
nrfx_spi_xfer_desc_t desc = NRFX_SPI_XFER_TRX(&tx_buff, 1, &rx_buff, 1);
509509
#endif
510510

511-
#if NRFX_CHECK(NRFX_SPIM_ENABLED)
511+
#if NRFX_CHECK(NRFX_SPIM_ENABLED)
512512
ret = nrfx_spim_xfer(&nordic_nrf5_spim_instance[instance], &desc, 0);
513-
#elif NRFX_CHECK(NRFX_SPI_ENABLED)
513+
#elif NRFX_CHECK(NRFX_SPI_ENABLED)
514514
ret = nrfx_spi_xfer(&nordic_nrf5_spi_instance[instance], &desc, 0);
515515
#endif
516516

0 commit comments

Comments
 (0)