Fixed Smooth CPU usage problems.

This commit is contained in:
Thulinma 2013-12-20 15:38:30 +01:00
parent 986561ffce
commit 5eafed5485

View file

@ -484,6 +484,9 @@ namespace Connector_HTTP {
//Wait 250ms before checking for new data.
Util::sleep(250);
}
}else{
//Wait 250ms before checking for new data.
Util::sleep(250);
}
if (ready4data){
unsigned int now = Util::epoch();