Commit 68e23bdc authored by Beat Küng's avatar Beat Küng

gps: use an inline function for usleep instead of #define

This avoids conflicts with other code
parent 9d0b2295
......@@ -59,7 +59,9 @@ public:
static void usleep(unsigned long usecs) { QThread::usleep(usecs); }
#define usleep Sleeper::usleep
static inline void usleep(unsigned long usecs) {
typedef uint64_t gps_abstime;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment