mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 16:23:56 -04:00
Copter: DataFlash frontend/backend split
This commit is contained in:
parent
7f0a0cf64f
commit
788faf1f7d
@ -22,9 +22,6 @@
|
||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||
|
||||
Copter::Copter(void) :
|
||||
#if defined(HAL_BOARD_LOG_DIRECTORY)
|
||||
DataFlash(HAL_BOARD_LOG_DIRECTORY),
|
||||
#endif
|
||||
ins_sample_rate(AP_InertialSensor::RATE_400HZ),
|
||||
flight_modes(&g.flight_mode1),
|
||||
sonar_enabled(true),
|
||||
|
@ -153,11 +153,7 @@ private:
|
||||
RC_Channel *channel_yaw;
|
||||
|
||||
// Dataflash
|
||||
#if defined(HAL_BOARD_LOG_DIRECTORY)
|
||||
DataFlash_File DataFlash;
|
||||
#else
|
||||
DataFlash_Empty DataFlash;
|
||||
#endif
|
||||
DataFlash_Class DataFlash;
|
||||
|
||||
// the rate we run the main loop at
|
||||
const AP_InertialSensor::Sample_rate ins_sample_rate;
|
||||
|
Loading…
Reference in New Issue
Block a user