Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
gsexton committed Sep 9, 2024
1 parent 9e052c9 commit 7d39120
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions gpioioctl/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ import (
"log"
"testing"

"periph.io/x/conn/v3/driver/driverreg"
"periph.io/x/conn/v3/gpio"
"periph.io/x/conn/v3/gpio/gpioreg"
)

var testLine *GPIOLine

func init() {
_, err := driverreg.Init()
if err != nil {
log.Println(err)
}

var err error

if len(Chips) == 0 {
/*
During pipeline builds, GPIOChips may not be available, or
Expand Down

0 comments on commit 7d39120

Please sign in to comment.