Fix typo in Hardware end()
This commit is contained in:
parent
cc355255ac
commit
7487d96f70
|
@ -76,7 +76,7 @@ void HardWire::begin(uint8 self_addr) {
|
||||||
i2c_master_enable(sel_hard, dev_flags);
|
i2c_master_enable(sel_hard, dev_flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HardWire:end() {
|
void HardWire::end() {
|
||||||
i2c_disable(sel_hard);
|
i2c_disable(sel_hard);
|
||||||
sel_hard = 0;
|
sel_hard = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue