cc3200: Remove unneeded SPI instruction in the simplelink driver.

Setting the word count before a SPI transaction is only needed when
using DMA.
stackless
Daniel Campora 2015-03-26 20:47:51 +01:00
parent 1826036a83
commit 1eba62cac9
1 changed files with 0 additions and 2 deletions

View File

@ -310,7 +310,6 @@ int spi_Read(Fd_t fd, unsigned char *pBuff, int len)
return -1;
}
MAP_SPIWordCountSet(LSPI_BASE, 0);
return spi_Read_CPU(pBuff, len);
}
@ -340,7 +339,6 @@ int spi_Write(Fd_t fd, unsigned char *pBuff, int len)
return -1;
}
MAP_SPIWordCountSet(LSPI_BASE, 0);
return spi_Write_CPU(pBuff,len);
}