@@ -26,17 +26,17 @@ const (
2626)
2727
2828var (
29- errI2CWriteTimeout = errors .New ("I2C timeout during write" )
30- errI2CReadTimeout = errors .New ("I2C timeout during read" )
31- errI2CBusReadyTimeout = errors .New ("I2C timeout on bus ready" )
32- errI2CSignalStartTimeout = errors .New ("I2C timeout on signal start" )
33- errI2CSignalReadTimeout = errors .New ("I2C timeout on signal read" )
34- errI2CSignalStopTimeout = errors .New ("I2C timeout on signal stop" )
35- errI2CAckExpected = errors .New ("I2C error: expected ACK not NACK" )
36- errI2CBusError = errors .New ("I2C bus error" )
37- errI2COverflow = errors .New ("I2C receive buffer overflow" )
38- errI2COverread = errors .New ("I2C transmit buffer overflow" )
39- errI2CNotImplemented = errors .New ("I2C operation not yet implemented" )
29+ errI2CWriteTimeout = errors .New ("i2c: timeout during write" )
30+ errI2CReadTimeout = errors .New ("i2c: timeout during read" )
31+ errI2CBusReadyTimeout = errors .New ("i2c: timeout on bus ready" )
32+ errI2CSignalStartTimeout = errors .New ("i2c: timeout on signal start" )
33+ errI2CSignalReadTimeout = errors .New ("i2c: timeout on signal read" )
34+ errI2CSignalStopTimeout = errors .New ("i2c: timeout on signal stop" )
35+ errI2CAckExpected = errors .New ("i2c: error: expected ACK not NACK" )
36+ errI2CBusError = errors .New ("i2c: bus error" )
37+ errI2COverflow = errors .New ("i2c: receive buffer overflow" )
38+ errI2COverread = errors .New ("i2c: transmit buffer overflow" )
39+ errI2CNotImplemented = errors .New ("i2c: operation not yet implemented" )
4040 errI2CNoDevices = errors .New ("i2c: bus has no devices" ) // simulator only
4141 errI2CMultipleDevices = errors .New ("i2c: bus has address conflict" ) // simulator only
4242 errI2CWrongAddress = errors .New ("i2c: bus has devices but none with this address" ) // simulator only
0 commit comments