From da684c1fcfd89eb13012c9cb1148b75ebd9c492a Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Wed, 27 May 2009 10:23:02 +0000 Subject: [PATCH] Do not send the quit command during initialization. --- src/oceanic_veo250.c | 3 +-- src/oceanic_vtpro.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/oceanic_veo250.c b/src/oceanic_veo250.c index b0274ca..4a5fdae 100644 --- a/src/oceanic_veo250.c +++ b/src/oceanic_veo250.c @@ -284,9 +284,8 @@ oceanic_veo250_device_open (device_t **out, const char* name) // Make sure everything is in a sane state. serial_flush (device->port, SERIAL_QUEUE_BOTH); - // Send the init and quit commands. + // Initialize the data cable (PPS mode). oceanic_veo250_init (device); - oceanic_veo250_quit (device); *out = (device_t*) device; diff --git a/src/oceanic_vtpro.c b/src/oceanic_vtpro.c index 6402af3..02f594f 100644 --- a/src/oceanic_vtpro.c +++ b/src/oceanic_vtpro.c @@ -277,9 +277,8 @@ oceanic_vtpro_device_open (device_t **out, const char* name) // Make sure everything is in a sane state. serial_flush (device->port, SERIAL_QUEUE_BOTH); - // Send the init and quit commands. + // Initialize the data cable (MOD mode). oceanic_vtpro_init (device); - oceanic_vtpro_quit (device); *out = (device_t*) device;