Upgrade dependencies
This commit is contained in:
2
vendor/periph.io/x/periph/host/allwinner/gpio.go
generated
vendored
2
vendor/periph.io/x/periph/host/allwinner/gpio.go
generated
vendored
@@ -994,7 +994,7 @@ func (d *driverGPIO) After() []string {
|
||||
// for the exact processor model detected.
|
||||
func (d *driverGPIO) Init() (bool, error) {
|
||||
if !Present() {
|
||||
return false, errors.New("Allwinner CPU not detected")
|
||||
return false, errors.New("no Allwinner CPU detected")
|
||||
}
|
||||
|
||||
// Mark the right pins as available even if the memory map fails so they can
|
||||
|
2
vendor/periph.io/x/periph/host/allwinner/gpio_pl.go
generated
vendored
2
vendor/periph.io/x/periph/host/allwinner/gpio_pl.go
generated
vendored
@@ -478,7 +478,7 @@ func (d *driverGPIOPL) After() []string {
|
||||
func (d *driverGPIOPL) Init() (bool, error) {
|
||||
// BUG(maruel): H3 supports group PL too.
|
||||
if !IsA64() {
|
||||
return false, errors.New("A64 CPU not detected")
|
||||
return false, errors.New("no A64 CPU detected")
|
||||
}
|
||||
|
||||
// Mark the right pins as available even if the memory map fails so they can
|
||||
|
Reference in New Issue
Block a user