Skip to content
Snippets Groups Projects
Commit 1eba62ca authored by Daniel Campora's avatar Daniel Campora
Browse files

cc3200: Remove unneeded SPI instruction in the simplelink driver.

Setting the word count before a SPI transaction is only needed when
using DMA.
parent 1826036a
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment