From c2ffebb623a4d399c92aa3d549afda07fe217347 Mon Sep 17 00:00:00 2001 From: qwert Date: Mon, 28 Jul 2008 14:51:47 +0000 Subject: [PATCH] Set correct timeout and fix error check routine on keytag module. Version 2.1 git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1523 38d2e660-2303-0410-9eaa-f027e97ec537 --- app/triface/cfg/cfg_ser.h | 8 ++++---- app/triface/verstag.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/triface/cfg/cfg_ser.h b/app/triface/cfg/cfg_ser.h index 55efe301..c474c890 100644 --- a/app/triface/cfg/cfg_ser.h +++ b/app/triface/cfg/cfg_ser.h @@ -94,11 +94,11 @@ /// SPI clock phase: 0 = sample on first edge, 1 = sample on second clock edge (AVR only). #define CONFIG_SPI_CLOCK_PHASE 0 -/// Default transmit timeout (ms). Set to -1 to disable timeout support. -#define CONFIG_SER_TXTIMEOUT 10 +/// Default transmit timeout (ms). Set to -1 for infinite timeout, 0 for null timeout +#define CONFIG_SER_TXTIMEOUT 0 -/// Default receive timeout (ms). Set to -1 to disable timeout support. -#define CONFIG_SER_RXTIMEOUT 10 +/// Default receive timeout (ms). Set to -1 for infinite timeout, 0 for null timeout +#define CONFIG_SER_RXTIMEOUT 0 /// Use RTS/CTS handshake #define CONFIG_SER_HWHANDSHAKE 0 diff --git a/app/triface/verstag.h b/app/triface/verstag.h index 1de061be..0be610af 100644 --- a/app/triface/verstag.h +++ b/app/triface/verstag.h @@ -51,7 +51,7 @@ #define APP_COPYRIGHT "Copyright 2006, 2007, 2008, Develer (http://www.develer.com/)" #define VERS_MAJOR 2 -#define VERS_MINOR 0 +#define VERS_MINOR 1 #define VERS_REV 0 #define VERS_LETTER "" -- 2.25.1