X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=app%2Ftriface%2Fcfg%2Fcfg_ser.h;h=c474c890e730d7bbc32d8ec61414ccb06eaba4c9;hb=b90c1f57f93acec62d75c3c35c152a5f17d4393c;hp=decb059562ce849a1492ccd8a2da517475636dff;hpb=52c2f093f1eda16d60217c6d277164a89c3b2453;p=bertos.git diff --git a/app/triface/cfg/cfg_ser.h b/app/triface/cfg/cfg_ser.h index decb0595..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 100 +/// 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 100 +/// 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