mirror of https://github.com/ArduPilot/ardupilot
removed the init_esc - reworking the method to avoid the use of the CLI.
This commit is contained in:
parent
5c797e91b5
commit
95b797d359
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue