Skip to content

Commit

Permalink
Fixed log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaelen committed Aug 13, 2018
1 parent 4b0dbf2 commit 3ff6b05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func main() {
// Read 1 AD in 10bit mode
ad10, err := controller.ReadAD10(ctx, 1)
if err != nil {
log.Fatalf("Couldn't read AD in 8bit mode: %v", err)
log.Fatalf("Couldn't read AD in 10bit mode: %v", err)
}
log.Printf("AD 10bit value: %d\n", ad10)

Expand Down
2 changes: 1 addition & 1 deletion example.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func main() {
// Read 1 AD in 10bit mode
ad10, err := controller.ReadAD10(ctx, 1)
if err != nil {
log.Fatalf("Couldn't read AD in 8bit mode: %v", err)
log.Fatalf("Couldn't read AD in 10bit mode: %v", err)
}
log.Printf("AD 10bit value: %d\n", ad10)

Expand Down
2 changes: 1 addition & 1 deletion relay/relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func ExampleController() {
// Read 1 AD in 10bit mode
ad10, err := controller.ReadAD10(ctx, 1)
if err != nil {
log.Fatalf("Couldn't read AD in 8bit mode: %v", err)
log.Fatalf("Couldn't read AD in 10bit mode: %v", err)
}
log.Printf("AD 10bit value: %d\n", ad10)

Expand Down

0 comments on commit 3ff6b05

Please sign in to comment.