From 6ce9a8e3b92324609a2fa27f4c8dfe23e5f5ebc6 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Fri, 13 Jun 2008 08:45:22 +0000 Subject: [PATCH] Added a 100ms delay before sending the handshake command. --- src/oceanic_atom2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/oceanic_atom2.c b/src/oceanic_atom2.c index 2eca114..6f87b81 100644 --- a/src/oceanic_atom2.c +++ b/src/oceanic_atom2.c @@ -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);