AP_BoardConfig: increase uavcan bus settle time to 2s

needed to ensure zubax mag has time to come up
This commit is contained in:
Andrew Tridgell 2016-11-29 12:51:05 +11:00 committed by Randy Mackay
parent 7c6bdfb95c
commit d9b3b7a9b5
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ void AP_BoardConfig::px4_setup_canbus(void)
hal.console->printf("UAVCAN: failed to start\n"); hal.console->printf("UAVCAN: failed to start\n");
} }
// give time for canbus drivers to register themselves // give time for canbus drivers to register themselves
hal.scheduler->delay(1000); hal.scheduler->delay(2000);
} }
if (px4.can_enable >= 2) { if (px4.can_enable >= 2) {
if (px4_start_driver(uavcan_main, "uavcan", "start fw")) { if (px4_start_driver(uavcan_main, "uavcan", "start fw")) {