}
}
+ if(!rate)
+ {
+ done = true;
+ return;
+ }
+
if(control.debug>=1)
IO::print("ArduControl detected at %d bits/s\n", rate);
if(do_command(cmd)==COMMAND_OK)
{
control.serial.set_baud_rate(rates[0]);
+ Time::sleep(Time::sec);
if(do_command(cmd)==COMMAND_OK)
{
- Time::sleep(Time::sec);
if(control.debug>=1)
IO::print("Rate changed to %d bits/s\n", rates[0]);
}