Skip to content

Commit

Permalink
digispark remove useless code in i2c test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kohler authored and deadprogram committed Apr 17, 2022
1 parent 63a5bb9 commit cac6338
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions platforms/digispark/digispark_i2c_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ func initTestAdaptorI2c() *Adaptor {
a := NewAdaptor()
a.connect = func(a *Adaptor) (err error) { return nil }
a.littleWire = new(i2cMock)
errorFunc = func() error { return nil }
pwmInitErrorFunc = func() error { return nil }
return a
}

Expand Down

0 comments on commit cac6338

Please sign in to comment.