forked from M-Labs/artiq
wrpll: speed up si549 i2c access
This commit is contained in:
parent
14e09582b6
commit
f633c62e8d
|
@ -9,7 +9,7 @@ mod i2c {
|
||||||
Helper
|
Helper
|
||||||
}
|
}
|
||||||
|
|
||||||
fn half_period() { clock::spin_us(10) }
|
fn half_period() { clock::spin_us(1) }
|
||||||
const SDA_MASK: u8 = 2;
|
const SDA_MASK: u8 = 2;
|
||||||
const SCL_MASK: u8 = 1;
|
const SCL_MASK: u8 = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue