mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 19:10:38 +02:00
fix comment
This commit is contained in:
parent
a708486834
commit
3da6062639
1 changed files with 0 additions and 1 deletions
|
@ -142,7 +142,6 @@ bool PacketSender::process() {
|
||||||
now = usecTimestampNow();
|
now = usecTimestampNow();
|
||||||
uint64_t elapsed = now - _lastSendTime;
|
uint64_t elapsed = now - _lastSendTime;
|
||||||
int usecToSleep = INTERVAL_SLEEP_USECS - elapsed;
|
int usecToSleep = INTERVAL_SLEEP_USECS - elapsed;
|
||||||
// we only sleep in non-threaded mode
|
|
||||||
if (usecToSleep > 0) {
|
if (usecToSleep > 0) {
|
||||||
if (usecToSleep > INTERVAL_SLEEP_USECS) {
|
if (usecToSleep > INTERVAL_SLEEP_USECS) {
|
||||||
usecToSleep = INTERVAL_SLEEP_USECS;
|
usecToSleep = INTERVAL_SLEEP_USECS;
|
||||||
|
|
Loading…
Reference in a new issue