2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

runtime/i2c: fix artiq_raise_from_c invokation

This commit is contained in:
Sebastien Bourdeauducq 2016-03-05 00:18:50 +08:00
parent 2f1a2782d2
commit 6b8efd10fd

View File

@ -106,7 +106,7 @@ void i2c_init(int busno)
i2c_halfperiod();
i2c_halfperiod();
if(!i2c_sda_i(busno))
artiq_raise_from_c("I2CError", "SDA is stuck low")
artiq_raise_from_c("I2CError", "SDA is stuck low", 0, 0, 0);
}
void i2c_start(int busno)