From: batt Date: Fri, 25 Jul 2008 17:47:52 +0000 (+0000) Subject: Reduce serial timeouts to give more responsiveness. X-Git-Tag: 2.0.0~413 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=423680839e9274635f27c3c04ed0e332abc06122;p=bertos.git Reduce serial timeouts to give more responsiveness. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1521 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/Makefile b/Makefile index c899766b..ec9502e6 100644 --- 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 diff --git a/app/triface/cfg/cfg_ser.h b/app/triface/cfg/cfg_ser.h index decb0595..55efe301 100644 --- a/app/triface/cfg/cfg_ser.h +++ b/app/triface/cfg/cfg_ser.h @@ -95,10 +95,10 @@ #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