mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
fix sleep interval in Agent.cpp so it isn't 0
This commit is contained in:
parent
ed5c9f617d
commit
d1aad8c387
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void Agent::run(QUrl scriptURL) {
|
|||
timeval lastDomainServerCheckIn = {};
|
||||
int numMicrosecondsSleep = 0;
|
||||
|
||||
const float DATA_SEND_INTERVAL_USECS = (1 / 60) * 1000 * 1000;
|
||||
const float DATA_SEND_INTERVAL_USECS = (1 / 60.0f) * 1000 * 1000;
|
||||
|
||||
sockaddr_in senderAddress;
|
||||
unsigned char receivedData[MAX_PACKET_SIZE];
|
||||
|
|
Loading…
Reference in a new issue