Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f26ea03c
Commit
f26ea03c
authored
Mar 22, 2016
by
Don Gagne
Browse files
Merge pull request #3054 from tcanabrava/simplify_code
Remove uneeded code
parents
86eec3f4
f43da9a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QGC.h
View file @
f26ea03c
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment