make style
This commit is contained in:
parent
2ac7963076
commit
cd98a4ac87
2 changed files with 29 additions and 27 deletions
|
|
@ -181,7 +181,8 @@ spi_send_receive(spi_port sp, const uint8_t *pbtTx, const size_t szTx, uint8_t *
|
|||
pbtTx = pbtTxLSB;
|
||||
}
|
||||
|
||||
struct spi_ioc_transfer tr_send = { .tx_buf = (unsigned long) pbtTx,
|
||||
struct spi_ioc_transfer tr_send = {
|
||||
.tx_buf = (unsigned long) pbtTx,
|
||||
.rx_buf = 0,
|
||||
.len = szTx ,
|
||||
.delay_usecs = 0,
|
||||
|
|
@ -194,7 +195,8 @@ spi_send_receive(spi_port sp, const uint8_t *pbtTx, const size_t szTx, uint8_t *
|
|||
}
|
||||
|
||||
if (szRx) {
|
||||
struct spi_ioc_transfer tr_receive = { .tx_buf = 0,
|
||||
struct spi_ioc_transfer tr_receive = {
|
||||
.tx_buf = 0,
|
||||
.rx_buf = (unsigned long) pbtRx,
|
||||
.len = szRx,
|
||||
.delay_usecs = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue