From 4a8c15dafebf3e53efc3c9f0f5eb661b956d8487 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Mon, 3 Dec 2007 14:39:09 +0000 Subject: [PATCH] Changed the default timeout to 1000ms. --- suunto_vyper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suunto_vyper.c b/suunto_vyper.c index b8b9c3e..ef63abc 100644 --- a/suunto_vyper.c +++ b/suunto_vyper.c @@ -65,8 +65,8 @@ suunto_vyper_open (vyper **out, const char* name) return SUUNTO_VYPER_ERROR_IO; } - // Set the timeout for receiving data (500 ms). - if (serial_set_timeout (device->port, 500) == -1) { + // Set the timeout for receiving data (1000 ms). + if (serial_set_timeout (device->port, 1000) == -1) { WARNING ("Failed to set the timeout."); serial_close (device->port); free (device);