arduino-esp32/libraries/SPI
David J. Fiddes b847f41e24 SPI: Ensure all read-only data pointers are marked as const (#3356)
This changes all SPI functions that take data pointers which are
not modified so that the declaration is const. This allows them
to be used with const data (i.e. held in flash). No functional
changes are required.

The defnitions of spiWrite() and spiTransferBytes()  in
esp-hal-spi.h/c have been updated to be consistent.

Tests:
 - Build a simple sketch using SPI.writePattern() and
   SPI.transferBytes()  which uses const data and verify that the
   attached device functions as expected.
2019-10-14 20:39:27 +03:00
..
examples/SPI_Multiple_Buses Correct comment in SPI_Multiple_Buses.ino (#2272) 2019-01-04 15:26:32 +02:00
src SPI: Ensure all read-only data pointers are marked as const (#3356) 2019-10-14 20:39:27 +03:00
keywords.txt initial import 2016-10-06 07:09:44 -06:00
library.properties initial import 2016-10-06 07:09:44 -06:00