Renamed NewSpi() to NewSPI() in accordance with Go naming conventions

This commit is contained in:
BCG
2020-09-06 09:27:03 -04:00
committed by Ron Evans
parent 7cd7df7bb8
commit a689aef543
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ type spiDriver struct {
bus machine.SPI
}
func NewSpi(bus machine.SPI, dc, cs, rst machine.Pin) *Device {
func NewSPI(bus machine.SPI, dc, cs, rst machine.Pin) *Device {
return &Device{
dc: dc,
cs: cs,
+1 -1
View File
@@ -11,7 +11,7 @@ type spiDriver struct {
bus machine.SPI
}
func NewSpi(bus machine.SPI, dc, cs, rst machine.Pin) *Device {
func NewSPI(bus machine.SPI, dc, cs, rst machine.Pin) *Device {
return &Device{
dc: dc,
cs: cs,