From 3abb378fbe10d9876246752f61a4e7e9367af952 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 20 Mar 2018 09:23:38 +0000 Subject: [PATCH] i2c: unused variable --- artiq/firmware/libboard_artiq/i2c.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/i2c.rs b/artiq/firmware/libboard_artiq/i2c.rs index e46b3d0fd..ddb70a129 100644 --- a/artiq/firmware/libboard_artiq/i2c.rs +++ b/artiq/firmware/libboard_artiq/i2c.rs @@ -62,7 +62,7 @@ mod imp { warn!("SDA is stuck low on bus #{}, trying to unstuck", busno); // Try toggling SCL a few times - for bit in 0..8 { + for _bit in 0..8 { scl_o(busno, false); half_period(); scl_o(busno, true);