Copter: removed 1ms delay on startup

handled by GCS library now, not needed here
This commit is contained in:
night-ghost 2018-03-16 17:02:40 +05:00 committed by Andrew Tridgell
parent 8511c2c04b
commit a1797beb41
1 changed files with 0 additions and 9 deletions

View File

@ -20,15 +20,6 @@ static void failsafe_check_static()
void Copter::init_ardupilot()
{
if (!hal.gpio->usb_connected()) {
// USB is not connected, this means UART0 may be a Xbee, with
// its darned bricking problem. We can't write to it for at
// least one second after powering up. Simplest solution for
// now is to delay for 1 second. Something more elegant may be
// added later
delay(1000);
}
// initialise serial port
serial_manager.init_console();