mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 04:19:04 +00:00
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:
@@ -6,7 +6,7 @@ import "device/sifive"
|
||||
|
||||
// SPI on the HiFive1.
|
||||
var (
|
||||
SPI1 = SPI{
|
||||
SPI1 = &SPI{
|
||||
Bus: sifive.QSPI1,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user