From: asterix Date: Tue, 20 Sep 2011 16:38:35 +0000 (+0000) Subject: Fix i2c clock frequency. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1fbd93a28162f17e2322f8b89467930b67731ded;p=bertos.git Fix i2c clock frequency. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5079 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/boards/sam3x-ek/hw/hw_i2c_bitbang.h b/boards/sam3x-ek/hw/hw_i2c_bitbang.h index ebdb883f..7c164465 100644 --- a/boards/sam3x-ek/hw/hw_i2c_bitbang.h +++ b/boards/sam3x-ek/hw/hw_i2c_bitbang.h @@ -120,7 +120,7 @@ INLINE bool i2c_sclIn(int dev) INLINE void i2c_halfbitDelay(int dev) { (void)(dev); - timer_udelay(1); + timer_udelay(10); cpu_relax(); }