Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinland committed Jan 31, 2023
1 parent 3c9f922 commit 8cbc489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/board/genericlinux/ioctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func ioctlInitialize(gpioMappings map[int]GPIOBoardMapping) {
pins = make(map[string]*ioctlPin)
for pin, mapping := range gpioMappings {
pins[fmt.Sprintf("%d", pin)] = &ioctlPin{
devicePath: fmt.Sprintf("/dev/%s", mapping.GPIOChipDev),
devicePath: mapping.GPIOChipDev,
offset: uint32(mapping.GPIO),
}
}
Expand Down

0 comments on commit 8cbc489

Please sign in to comment.