do while loop
According to tests this speeds up about 1.2% loops
This commit is contained in:
parent
b6b85bb8bf
commit
7c91a0bbb9
|
@ -772,6 +772,8 @@ void setup()
|
|||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
do
|
||||
{
|
||||
mainLoopCount++;
|
||||
//Check for any requets from serial. Serial operations are checked under 2 scenarios:
|
||||
|
@ -1403,6 +1405,7 @@ void loop()
|
|||
|
||||
}
|
||||
|
||||
}while(1); //Some tests result this in a 1.2% faster at 8500RPM
|
||||
}
|
||||
|
||||
//************************************************************************************************
|
||||
|
|
Loading…
Reference in New Issue