Fixed Smooth CPU usage problems.
This commit is contained in:
parent
986561ffce
commit
5eafed5485
1 changed files with 3 additions and 0 deletions
|
@ -484,6 +484,9 @@ namespace Connector_HTTP {
|
||||||
//Wait 250ms before checking for new data.
|
//Wait 250ms before checking for new data.
|
||||||
Util::sleep(250);
|
Util::sleep(250);
|
||||||
}
|
}
|
||||||
|
}else{
|
||||||
|
//Wait 250ms before checking for new data.
|
||||||
|
Util::sleep(250);
|
||||||
}
|
}
|
||||||
if (ready4data){
|
if (ready4data){
|
||||||
unsigned int now = Util::epoch();
|
unsigned int now = Util::epoch();
|
||||||
|
|
Loading…
Add table
Reference in a new issue