chore: update all SPI usage to use either *machine.SPI or drivers.SPI to accomodate recent switch in machine package

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2025-03-11 18:27:15 +01:00
committed by Ron Evans
parent 6e04decf19
commit 156d6e7c9c
18 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func (d *Device) GetRadioEventChan() chan lora.RadioEvent {
}
// New creates a new SX127x connection. The SPI bus must already be configured.
func New(spi machine.SPI, rstPin machine.Pin) *Device {
func New(spi drivers.SPI, rstPin machine.Pin) *Device {
k := Device{
spi: spi,
rstPin: rstPin,