nrf5/hal: Line wrapping params in hal_spi.c to make it easier to read.

This commit is contained in:
Glenn Ruben Bakke 2017-02-02 23:47:30 +01:00
parent cd096f604e
commit e8b4a97d7d
1 changed files with 4 additions and 1 deletions

View File

@ -95,7 +95,10 @@ void hal_spi_master_init(NRF_SPI_Type * p_instance, hal_spi_init_t const * p_spi
p_instance->ENABLE = (SPI_ENABLE_ENABLE_Enabled << SPI_ENABLE_ENABLE_Pos); p_instance->ENABLE = (SPI_ENABLE_ENABLE_Enabled << SPI_ENABLE_ENABLE_Pos);
} }
void hal_spi_master_tx_rx(NRF_SPI_Type * p_instance, uint16_t transfer_size, const uint8_t * tx_data, uint8_t * rx_data) { void hal_spi_master_tx_rx(NRF_SPI_Type * p_instance,
uint16_t transfer_size,
const uint8_t * tx_data,
uint8_t * rx_data) {
uint16_t number_of_txd_bytes = 0; uint16_t number_of_txd_bytes = 0;