mirror of
https://github.com/kidoman/embd
synced 2025-07-03 11:57:38 +02:00
minor cleanup
This commit is contained in:
parent
ebb9dc47fc
commit
3f88b67361
5 changed files with 6 additions and 6 deletions
2
i2c.go
2
i2c.go
|
@ -38,7 +38,7 @@ func InitI2C() error {
|
|||
}
|
||||
|
||||
if desc.I2CDriver == nil {
|
||||
return ErrFeatureNotSupport
|
||||
return ErrFeatureNotSupported
|
||||
}
|
||||
|
||||
i2cDriverInstance = desc.I2CDriver()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue