i2c_opencores.[ch], spi_io.[ch]: Improve const correctness.

This commit is contained in:
Ari Sundholm committed 2020-11-05 19:11:04 +02:00
1 parent cd77713255
commit 556140dd62
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ void SPI_R (BYTE *rd, int len);
\param *wd Pointer to array which holds the bytes.
\param len Length of the array.
*/
void SPI_W (BYTE *wd, int len);
void SPI_W (const BYTE *wd, int len);
/**
\brief Read a single byte.