diff options
| author | 2018-09-12 03:27:05 +0300 | |
|---|---|---|
| committer | 2018-09-12 17:18:47 -0700 | |
| commit | f8e9fb72f12990ce5c89de94eeb4effa2757d38b (patch) | |
| tree | 8aebf694fc63fa482e0030589de93b25934e8f6d /mobile-widgets | |
| parent | 76c4fb39751283ecd734407709251f7bf16f7189 (diff) | |
| download | subsurface-f8e9fb72f12990ce5c89de94eeb4effa2757d38b.tar.gz | |
serial_ftdi: use Sleep() on Win32
Windows doesn't have nanosleep() unless libwinpthread is used.
Since the nanosleep() usage in serial_ftdi_sleep():
- does not break in case of EINTR
- has input in milliseconds
the WINAPI Sleep() should be a good alternative.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets')
0 files changed, 0 insertions, 0 deletions