Fixes for Irix from Andrea Suatoni

merge-requests/1/head
Peter Fales 2003-02-09 03:23:59 +00:00
rodzic 403f2e4241
commit 54d9e2729d
2 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -403,6 +403,9 @@ init_dc210 (DC210 * camera)
#ifdef HAVE_TCSENDBREAK
tcsendbreak (camera->fd, 0);
# if defined(__sgi)
tcdrain (camera->fd);
# endif
# elif defined(TCSBRKP)
ioctl (camera->fd, TCSBRKP, 0);
# elif defined(TCSBRK)
@ -412,9 +415,9 @@ init_dc210 (DC210 * camera)
/* and wait for it to recover from the break */
#ifdef HAVE_USLEEP
usleep (breakpause);
usleep (breakpause);
#else
+ sleep (1);
sleep (1);
#endif
if (send_pck (camera->fd, init_pck) == -1)

Wyświetl plik

@ -448,6 +448,9 @@ init_dc240 (DC240 * camera)
#ifdef HAVE_TCSENDBREAK
tcsendbreak (camera->fd, 0);
# if defined(__sgi)
tcdrain (camera->fd);
# endif
# elif defined(TCSBRKP)
ioctl (camera->fd, TCSBRKP, 0);
# elif defined(TCSBRK)