forked from M-Labs/artiq
i2c: unused variable
This commit is contained in:
parent
c8020f6bbd
commit
3abb378fbe
|
@ -62,7 +62,7 @@ mod imp {
|
||||||
warn!("SDA is stuck low on bus #{}, trying to unstuck", busno);
|
warn!("SDA is stuck low on bus #{}, trying to unstuck", busno);
|
||||||
|
|
||||||
// Try toggling SCL a few times
|
// Try toggling SCL a few times
|
||||||
for bit in 0..8 {
|
for _bit in 0..8 {
|
||||||
scl_o(busno, false);
|
scl_o(busno, false);
|
||||||
half_period();
|
half_period();
|
||||||
scl_o(busno, true);
|
scl_o(busno, true);
|
||||||
|
|
Loading…
Reference in New Issue