From 11994ba117e5528ea3297f809cdb8a253dc6dc79 Mon Sep 17 00:00:00 2001 From: George Sexton Date: Sun, 25 May 2025 15:33:30 -0600 Subject: [PATCH] gofmt --- mcp472x/example_test.go | 2 +- mcp472x/mcp472x_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mcp472x/example_test.go b/mcp472x/example_test.go index 26090c0..55a34c1 100644 --- a/mcp472x/example_test.go +++ b/mcp472x/example_test.go @@ -25,7 +25,7 @@ func Example() { log.Fatal(err) } defer bus.Close() - // For a MCP4725, or to use VCC for the reference voltage, specify it as: + // For a MCP4725, or to use VCC for the reference voltage, specify it as: // 3_300 * physic.MilliVolt, etc. dev, err := mcp472x.New(bus, mcp472x.DefaultAddress, mcp472x.MCP4728, mcp472x.MCP4728InternalRef) if err != nil { diff --git a/mcp472x/mcp472x_test.go b/mcp472x/mcp472x_test.go index e8704a3..8564183 100644 --- a/mcp472x/mcp472x_test.go +++ b/mcp472x/mcp472x_test.go @@ -21,7 +21,7 @@ func getDev(testName string, variant Variant, vRef physic.ElectricPotential) (*D if variant == MCP4725 { addr = 0x62 } - d, err :=New(&i2ctest.Playback{Ops:recordingData[testName], DontPanic: true},addr,variant,vRef) + d, err := New(&i2ctest.Playback{Ops: recordingData[testName], DontPanic: true}, addr, variant, vRef) return d, err }