mirror of
https://github.com/kidoman/embd
synced 2024-06-06 02:57:47 +02:00
Merge 1c4f3e94cb
into d3d8c0c5c6
This commit is contained in:
commit
a333f2c65f
1
i2c.go
1
i2c.go
|
@ -66,6 +66,7 @@ func InitI2C() error {
|
||||||
|
|
||||||
// CloseI2C releases resources associated with the I2C driver.
|
// CloseI2C releases resources associated with the I2C driver.
|
||||||
func CloseI2C() error {
|
func CloseI2C() error {
|
||||||
|
i2cDriverInitialized = false
|
||||||
return i2cDriverInstance.Close()
|
return i2cDriverInstance.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user