Reduce serial timeouts to give more responsiveness.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 25 Jul 2008 17:47:52 +0000 (17:47 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 25 Jul 2008 17:47:52 +0000 (17:47 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1521 38d2e660-2303-0410-9eaa-f027e97ec537

Makefile
app/triface/cfg/cfg_ser.h

index c899766b58e0f3e6d46c389a8176537d4739e462..ec9502e622b93e46968a635cfb728b5cd6fa7dc6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,9 @@ default: all
 include bertos/config.mk
 
 #Include subtargets
-include app/demo/demo.mk
+#include app/demo/demo.mk
 #include app/at91sam7s/at91sam7s.mk
 #include app/battfs/battfs_test.mk
-#include app/triface/triface.mk
+include app/triface/triface.mk
 
 include bertos/rules.mk
index decb059562ce849a1492ccd8a2da517475636dff..55efe30114a06668ad801e280a4b0ef4866a9e57 100644 (file)
 #define CONFIG_SPI_CLOCK_PHASE 0
 
 /// Default transmit timeout (ms). Set to -1 to disable timeout support.
-#define CONFIG_SER_TXTIMEOUT    100
+#define CONFIG_SER_TXTIMEOUT    10
 
 /// Default receive timeout (ms). Set to -1 to disable timeout support.
-#define CONFIG_SER_RXTIMEOUT    100
+#define CONFIG_SER_RXTIMEOUT    10
 
 /// Use RTS/CTS handshake
 #define CONFIG_SER_HWHANDSHAKE   0