forked from M-Labs/artiq
runtime/i2c: fix artiq_raise_from_c invokation
This commit is contained in:
parent
2f1a2782d2
commit
6b8efd10fd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue