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
1 changed files with 1 additions and 1 deletions

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)