Decrease the half bit pulse width.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 15 Sep 2011 13:39:20 +0000 (13:39 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 15 Sep 2011 13:39:20 +0000 (13:39 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5049 38d2e660-2303-0410-9eaa-f027e97ec537

boards/sam3x-ek/hw/hw_i2c_bitbang.h

index 7a0d8de6d72146b8acaf53c28b943e7698c6efdb..ebdb883faa6fff7f7b02b7f19ed00ab17eeac055 100644 (file)
@@ -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();
 }