Skip to content

Commit

Permalink
remove copypasta comment
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinland committed May 7, 2024
1 parent 3f6c2f8 commit c5b7ca9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/board/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (ac *analogClient) Read(ctx context.Context, extra map[string]interface{})
if err != nil {
return 0, err
}
// the api method is named ReadAnalogReader, it is named differenlty than
// the api method is named ReadAnalogReader, it is named differently than
// the board interface functions.
resp, err := ac.client.client.ReadAnalogReader(ctx, &pb.ReadAnalogReaderRequest{
BoardName: ac.boardName,
Expand All @@ -157,8 +157,6 @@ func (ac *analogClient) Write(ctx context.Context, value int, extra map[string]i
if err != nil {
return err
}
// the api method is named ReadAnalogReader, it is named differenlty than
// the board interface functions.
_, err = ac.client.client.WriteAnalog(ctx, &pb.WriteAnalogRequest{
Name: ac.boardName,
Pin: ac.analogName,
Expand Down

0 comments on commit c5b7ca9

Please sign in to comment.