Skip to content

Commit

Permalink
change comments that i could find mentioning libgpio and change back …
Browse files Browse the repository at this point in the history
…test.yml
  • Loading branch information
randhid committed Sep 27, 2024
1 parent 0dfbca5 commit b415165
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pullrequest-trusted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
test:
if: (github.event.label.name == 'safe to test' || github.event.label.name == 'appimage')
uses: ./.github/workflows/test.yml
uses: viamrobotics/rdk/.github/workflows/test.yml@main
secrets:
MONGODB_TEST_OUTPUT_URI: ${{ secrets.MONGODB_TEST_OUTPUT_URI }}
DOCKER_PUBLIC_READONLY_PAT: ${{ secrets.DOCKER_PUBLIC_READONLY_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion components/board/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "go.viam.com/rdk/resource"
// SPIConfig enumerates a specific, shareable SPI bus.
type SPIConfig struct {
Name string `json:"name"`
BusSelect string `json:"bus_select"` // "0" or "1" for main/aux in libpigpio
BusSelect string `json:"bus_select"` // "0" or "1" are common on single board computers
}

// Validate ensures all parts of the config are valid.
Expand Down
2 changes: 1 addition & 1 deletion components/motor/gpio/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (conf *Config) Validate(path string) ([]string, error) {
return deps, nil
}

// init registers a pi motor based on pigpio.
// init registers a motor controlled by settign pwm and gpio pins on the underlying board.
func init() {
resource.RegisterComponent(motor.API, model, resource.Registration[motor.Motor, *Config]{
Constructor: createNewMotor,
Expand Down

0 comments on commit b415165

Please sign in to comment.