From 39d5ca11f45efe48f655cbec76d21b92bd46a176 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 28 Nov 2019 22:03:26 +0800 Subject: [PATCH] si549: increase I2C frequency --- artiq/firmware/libboard_artiq/wrpll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/wrpll.rs b/artiq/firmware/libboard_artiq/wrpll.rs index d27b90767..40ae88e43 100644 --- a/artiq/firmware/libboard_artiq/wrpll.rs +++ b/artiq/firmware/libboard_artiq/wrpll.rs @@ -9,7 +9,7 @@ mod i2c { Helper } - fn half_period() { clock::spin_us(100) } + fn half_period() { clock::spin_us(10) } const SDA_MASK: u8 = 2; const SCL_MASK: u8 = 1;