Commit f26ea03c authored by Don Gagne's avatar Don Gagne

Merge pull request #3054 from tcanabrava/simplify_code

Remove uneeded code
parents 86eec3f4 f43da9a7
......@@ -102,27 +102,9 @@ const static int MAX_FLIGHT_TIME = 60 * 60 * 24 * 21;
class SLEEP : public QThread
{
public:
/**
* @brief Set a thread to sleep for seconds
* @param s time in seconds to sleep
**/
static void sleep(unsigned long s) {
QThread::sleep(s);
}
/**
* @brief Set a thread to sleep for milliseconds
* @param ms time in milliseconds to sleep
**/
static void msleep(unsigned long ms) {
QThread::msleep(ms);
}
/**
* @brief Set a thread to sleep for microseconds
* @param us time in microseconds to sleep
**/
static void usleep(unsigned long us) {
QThread::usleep(us);
}
using QThread::sleep;
using QThread::msleep;
using QThread::usleep;
};
quint32 crc32(const quint8 *src, unsigned len, unsigned state);
......
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