mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Copter: remove LOG_FROM_STARTUP define
This compile-time method is obsolete now that we have the logging while disarmed feature
This commit is contained in:
parent
ebcf582f66
commit
a559a12ea2
@ -41,7 +41,6 @@
|
|||||||
// other settings
|
// other settings
|
||||||
//#define THROTTLE_IN_DEADBAND 100 // redefine size of throttle deadband in pwm (0 ~ 1000)
|
//#define THROTTLE_IN_DEADBAND 100 // redefine size of throttle deadband in pwm (0 ~ 1000)
|
||||||
//#define LAND_REQUIRE_MIN_THROTTLE_TO_DISARM DISABLED // when set to DISABLED vehicle will disarm after landing (in LAND mode or RTL) even if pilot has not put throttle to zero
|
//#define LAND_REQUIRE_MIN_THROTTLE_TO_DISARM DISABLED // when set to DISABLED vehicle will disarm after landing (in LAND mode or RTL) even if pilot has not put throttle to zero
|
||||||
//#define LOG_FROM_STARTUP // start logging as soon as the board starts up instead of waiting for the vehicle to be armed
|
|
||||||
|
|
||||||
//#define HIL_MODE HIL_MODE_SENSORS // build for hardware-in-the-loop simulation
|
//#define HIL_MODE HIL_MODE_SENSORS // build for hardware-in-the-loop simulation
|
||||||
|
|
||||||
|
@ -277,10 +277,6 @@ static void init_ardupilot()
|
|||||||
|
|
||||||
#if LOGGING_ENABLED == ENABLED
|
#if LOGGING_ENABLED == ENABLED
|
||||||
Log_Write_Startup();
|
Log_Write_Startup();
|
||||||
#ifdef LOG_FROM_STARTUP
|
|
||||||
// start dataflash
|
|
||||||
start_logging();
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// we don't want writes to the serial port to cause us to pause
|
// we don't want writes to the serial port to cause us to pause
|
||||||
|
Loading…
Reference in New Issue
Block a user