From c5b7ca9479ecd721fcfd515030966a51a42aa827 Mon Sep 17 00:00:00 2001 From: Alan Davidson Date: Tue, 7 May 2024 15:53:36 -0400 Subject: [PATCH] remove copypasta comment --- components/board/client.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/board/client.go b/components/board/client.go index 1c0f22468dca..05df78fbf043 100644 --- a/components/board/client.go +++ b/components/board/client.go @@ -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, @@ -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,