Plane: DataFlash frontend/backend split
This commit is contained in:
parent
2266f118e9
commit
7f0a0cf64f
@ -158,17 +158,7 @@ private:
|
|||||||
// notification object for LEDs, buzzers etc (parameter set to false disables external leds)
|
// notification object for LEDs, buzzers etc (parameter set to false disables external leds)
|
||||||
AP_Notify notify;
|
AP_Notify notify;
|
||||||
|
|
||||||
// DataFlash
|
DataFlash_Class 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
|
|
||||||
|
|
||||||
// has a log download started?
|
// has a log download started?
|
||||||
bool in_log_download;
|
bool in_log_download;
|
||||||
|
Loading…
Reference in New Issue
Block a user