Fix loop to allow searching for more than one device

Before this fix - seems only empty statement after `while`
condition was executed.
This commit is contained in:
Piotrek Zygielo 2017-02-04 21:28:36 +01:00
parent cbbb53dada
commit 886ecd7d71

View File

@ -52,6 +52,7 @@ uint8_t findDevices(int pin)
Serial.print("\nuint8_t pin");
Serial.print(pin, DEC);
Serial.println("[][8] = {");
do
{
count++;
Serial.println(" {");