removed the init_esc - reworking the method to avoid the use of the CLI.

This commit is contained in:
Jason Short 2011-11-20 21:24:32 -08:00
parent 5c797e91b5
commit 95b797d359
1 changed files with 1 additions and 4 deletions

View File

@ -184,6 +184,7 @@ static void init_ardupilot()
init_rc_in(); // sets up rc channels from radio init_rc_in(); // sets up rc channels from radio
init_rc_out(); // sets up the timer libs init_rc_out(); // sets up the timer libs
init_camera(); init_camera();
#if HIL_MODE != HIL_MODE_ATTITUDE #if HIL_MODE != HIL_MODE_ATTITUDE
@ -238,10 +239,6 @@ static void init_ardupilot()
Serial.printf_P(PSTR("\nPress ENTER 3 times for CLI\n\n")); Serial.printf_P(PSTR("\nPress ENTER 3 times for CLI\n\n"));
#endif // CLI_ENABLED #endif // CLI_ENABLED
if(g.esc_calibrate == 1){
init_esc();
}
#if LOGGING_ENABLED == ENABLED #if LOGGING_ENABLED == ENABLED
if(g.log_bitmask != 0){ if(g.log_bitmask != 0){
// TODO - Here we will check on the length of the last log // TODO - Here we will check on the length of the last log