fix: ensure use of pointers for SPI interface on atsam21/atsam51 and other machines/boards that were missing implementation. (#4798)

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2025-03-11 08:50:31 -07:00
committed by GitHub
parent bcdc5e0097
commit f76e8d2812
17 changed files with 77 additions and 80 deletions
+2 -2
View File
@@ -334,8 +334,8 @@ type SPI struct {
var (
// SPI0 and SPI1 are reserved for use by the caching system etc.
SPI2 = SPI{esp.SPI2}
SPI3 = SPI{esp.SPI3}
SPI2 = &SPI{esp.SPI2}
SPI3 = &SPI{esp.SPI3}
)
// SPIConfig configures a SPI peripheral on the ESP32. Make sure to set at least