Added a 100ms delay before sending the handshake command.
This commit is contained in:
parent
35f6b4845e
commit
6ce9a8e3b9
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user