mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-18 05:33:58 +00:00
sx126x: update to use new device package location
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -4,11 +4,12 @@ package main
|
|||||||
// module will be in RX mode between two transmissions
|
// module will be in RX mode between two transmissions
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"device/stm32"
|
|
||||||
"machine"
|
"machine"
|
||||||
"runtime/interrupt"
|
"runtime/interrupt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"tinygo.org/x/device/stm32"
|
||||||
|
|
||||||
rfswitch "tinygo.org/x/drivers/examples/sx126x/rfswitch"
|
rfswitch "tinygo.org/x/drivers/examples/sx126x/rfswitch"
|
||||||
|
|
||||||
"tinygo.org/x/drivers/sx126x"
|
"tinygo.org/x/drivers/sx126x"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package sx126x
|
package sx126x
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"device/stm32"
|
|
||||||
"errors"
|
"errors"
|
||||||
"machine"
|
"machine"
|
||||||
|
"tinygo.org/x/device/stm32"
|
||||||
"tinygo.org/x/drivers"
|
"tinygo.org/x/drivers"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user