File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -502,15 +502,15 @@ int spi_master_write(spi_t *obj, int value)
502
502
}
503
503
504
504
/* Transfer 1 byte. */
505
- #if NRFX_CHECK (NRFX_SPIM_ENABLED )
505
+ #if NRFX_CHECK (NRFX_SPIM_ENABLED )
506
506
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 )
508
508
nrfx_spi_xfer_desc_t desc = NRFX_SPI_XFER_TRX (& tx_buff , 1 , & rx_buff , 1 );
509
509
#endif
510
510
511
- #if NRFX_CHECK (NRFX_SPIM_ENABLED )
511
+ #if NRFX_CHECK (NRFX_SPIM_ENABLED )
512
512
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 )
514
514
ret = nrfx_spi_xfer (& nordic_nrf5_spi_instance [instance ], & desc , 0 );
515
515
#endif
516
516
You can’t perform that action at this time.
0 commit comments