Skip to content

Commit

Permalink
coredevice/i2c: fix exception message
Browse files Browse the repository at this point in the history
sbourdeauducq committed Mar 4, 2016
1 parent 70f0a74 commit 200cddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/coredevice/i2c.py
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ def _write24(self, command, value):
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)

0 comments on commit 200cddc

Please sign in to comment.