Added a 100ms delay before sending the handshake command.

This commit is contained in:
Jef Driesen 2008-06-13 08:45:22 +00:00
parent 35f6b4845e
commit 6ce9a8e3b9

View File

@ -132,6 +132,9 @@ oceanic_atom2_open (atom2 **out, const char* name)
return OCEANIC_ERROR_IO;
}
// Give the interface 100 ms to settle and draw power up.
serial_sleep (100);
// Make sure everything is in a sane state.
serial_flush (device->port, SERIAL_QUEUE_BOTH);