Taking care of review comments

This commit is contained in:
Joshua Jeyaraj
2018-10-30 09:56:02 +05:30
committed by Joshua Jeyaraj
parent f0e10f1452
commit 994b42e18e

View File

@@ -150,7 +150,7 @@ ReturnStatus spi_reg_write(SPI_Handle spiHandle,
spiTransaction.txBuf = data;
spiTransaction.rxBuf = NULL;
if(data_size > 0){
if(data_size > 0) {
if (SPI_transfer(spiHandle, &spiTransaction)) {
status = RETURN_OK;
} else {