From 200cddc34685bc29d4420a1a4546ad1f1a31ef5f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 5 Mar 2016 00:51:13 +0800 Subject: [PATCH] coredevice/i2c: fix exception message --- artiq/coredevice/i2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/i2c.py b/artiq/coredevice/i2c.py index c48b89672..b406b34ea 100644 --- a/artiq/coredevice/i2c.py +++ b/artiq/coredevice/i2c.py @@ -64,7 +64,7 @@ class TCA6424A: raise I2CError("TCA6424A failed to ack command") for i in range(3): if not i2c_write(self.busno, value >> 16): - raise I2CError("TCA6424A failed to ack command") + raise I2CError("TCA6424A failed to ack data") value <<= 8 finally: i2c_stop(self.busno)