mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 10:58:30 -04:00
s
shortened strings, logging defines updated
This commit is contained in:
parent
1b943276ed
commit
4c95bf27e6
@ -217,9 +217,7 @@ static void init_ardupilot()
|
|||||||
#ifdef USERHOOK_INIT
|
#ifdef USERHOOK_INIT
|
||||||
USERHOOK_INIT
|
USERHOOK_INIT
|
||||||
#endif
|
#endif
|
||||||
// Logging:
|
|
||||||
// --------
|
|
||||||
// DataFlash log initialization
|
|
||||||
#if LOGGING_ENABLED == ENABLED
|
#if LOGGING_ENABLED == ENABLED
|
||||||
DataFlash.Init();
|
DataFlash.Init();
|
||||||
#endif
|
#endif
|
||||||
@ -237,20 +235,21 @@ static void init_ardupilot()
|
|||||||
run_cli();
|
run_cli();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
Serial.printf_P(PSTR("\nPress ENTER 3 times to start interactive setup\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){
|
if(g.esc_calibrate == 1){
|
||||||
init_esc();
|
init_esc();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Logging:
|
#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
|
||||||
// We don't want to create a bunch of little logs due to powering on and off
|
// We don't want to create a bunch of little logs due to powering on and off
|
||||||
|
Serial.printf("start_new_log");
|
||||||
start_new_log();
|
start_new_log();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
GPS_enabled = false;
|
GPS_enabled = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user