Do not send the quit command during initialization.

This commit is contained in:
Jef Driesen 2009-05-27 10:23:02 +00:00
parent 5a1658d30e
commit da684c1fcf
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;