From 3f43d180254cd9bdce1fa84c43394ac3fd18d332 Mon Sep 17 00:00:00 2001
From: batt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Fri, 5 Sep 2008 17:38:08 +0000
Subject: [PATCH] Add new config directive.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1799 38d2e660-2303-0410-9eaa-f027e97ec537
---
 bertos/cfg/cfg_twi.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/bertos/cfg/cfg_twi.h b/bertos/cfg/cfg_twi.h
index 6344c6f9..dbfffafe 100644
--- a/bertos/cfg/cfg_twi.h
+++ b/bertos/cfg/cfg_twi.h
@@ -43,6 +43,14 @@
 /// Comunication frequency
 #define CONFIG_TWI_FREQ  100000UL
 
+/**
+  * TWI start timeout.
+  * For how many milliseconds the twi_start
+  * should try to get an ACK before returning error.
+  *
+  */
+#define CONFIG_TWI_START_TIMEOUT 100
+
 #endif /* CFG_TWI_H */
 
 
-- 
2.25.1