This commit is contained in:
Cruiser79 2017-05-08 01:30:53 +00:00 committed by GitHub
commit a333f2c65f
1 changed files with 1 additions and 0 deletions

1
i2c.go
View File

@ -66,6 +66,7 @@ func InitI2C() error {
// CloseI2C releases resources associated with the I2C driver.
func CloseI2C() error {
i2cDriverInitialized = false
return i2cDriverInstance.Close()
}