mirror of
https://github.com/kidoman/embd
synced 2025-07-03 11:57:38 +02:00
- GPIO -> GPIODriver
- I2C -> I2CDriver
This commit is contained in:
parent
bf8a4be4d9
commit
0405cf3f14
7 changed files with 22 additions and 22 deletions
|
@ -15,7 +15,7 @@ type i2cDriver struct {
|
|||
busMapLock sync.Mutex
|
||||
}
|
||||
|
||||
func newI2CDriver() I2C {
|
||||
func newI2CDriver() I2CDriver {
|
||||
return &i2cDriver{
|
||||
busMap: make(map[byte]*i2cBus),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue