Add error check.
[bertos.git] / app / triface / cfg / cfg_ser.h
index decb059562ce849a1492ccd8a2da517475636dff..c474c890e730d7bbc32d8ec61414ccb06eaba4c9 100644 (file)
 /// 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