From: asterix Date: Thu, 15 Sep 2011 13:39:20 +0000 (+0000) Subject: Decrease the half bit pulse width. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=71b7e431e4f173d4ad0904b30018123363f14b18;p=bertos.git Decrease the half bit pulse width. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5049 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 7a0d8de6..ebdb883f 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_delay(1); + timer_udelay(1); cpu_relax(); }