Updated the comments on the timings of the original Suunto interface.

This commit is contained in:
Jef Driesen 2008-01-02 12:01:39 +00:00
parent bc229099af
commit 8b52082a2f

View File

@ -227,7 +227,9 @@ suunto_vyper_send (vyper *device, const unsigned char command[], unsigned int cs
// from the dive computer appears (600ms).
// The original suunto interface does not have this problem, because it
// does not send an echo and the RTS switching makes it impossible to
// receive the reply too early here.
// receive the reply before RTS is cleared. We have to wait some time
// before clearing RTS (around 30ms). But if we wait too long (> 500ms),
// the reply disappears again.
serial_sleep (200);
serial_flush (device->port, SERIAL_QUEUE_INPUT);