Fixed smooth CPU problems more properly.

Yes, you read that right.
This commit is contained in:
Thulinma 2013-12-22 13:42:39 +01:00
parent 8c09bbc3e9
commit 723c8b8b3b

View file

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