Browse Source

Plane: DataFlash frontend/backend split

master
Peter Barker 10 years ago committed by Andrew Tridgell
parent
commit
7f0a0cf64f
  1. 12
      ArduPlane/Plane.h

12
ArduPlane/Plane.h

@ -158,17 +158,7 @@ private: @@ -158,17 +158,7 @@ private:
// notification object for LEDs, buzzers etc (parameter set to false disables external leds)
AP_Notify notify;
// DataFlash
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
DataFlash_APM1 DataFlash;
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2
DataFlash_APM2 DataFlash;
#elif defined(HAL_BOARD_LOG_DIRECTORY)
DataFlash_File DataFlash {HAL_BOARD_LOG_DIRECTORY};
#else
// no dataflash driver
DataFlash_Empty DataFlash;
#endif
DataFlash_Class DataFlash;
// has a log download started?
bool in_log_download;

Loading…
Cancel
Save