mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 19:43:44 +00:00
refactor: use *SPI everywhere to make consistant for implementations.
Fixes #4663 "in reverse" by making SPI a pointer everywhere, as discussed in the comments. Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -8,7 +8,7 @@ package machine
|
||||
var (
|
||||
UART0 = hardwareUART0
|
||||
UART1 = hardwareUART1
|
||||
SPI0 = SPI{0}
|
||||
SPI1 = SPI{1}
|
||||
SPI0 = &SPI{0}
|
||||
SPI1 = &SPI{1}
|
||||
I2C0 = &I2C{0}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user