mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Minor improvements. Fixed PRSleep() on POSIX platforms.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include <windows.h>
|
||||
#define PRSleep(milliseconds) Sleep(milliseconds)
|
||||
#else
|
||||
#define PRSleep(milliseconds) sleep(milliseconds/1000)
|
||||
#define PRSleep(milliseconds) usleep(milliseconds*1000)
|
||||
#endif
|
||||
|
||||
const int32_t FTDI_VENDOR_ID = 0x0403;
|
||||
|
||||
Reference in New Issue
Block a user