mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: avoid logging dma.txt for normal builds
logging of dma.txt currently does no good as the first time you read it you get no content. It then enables statistics in the shared_dma code which makes all DMA operations slower, so all we are doing is making DMA slower
This commit is contained in:
parent
fc705cf229
commit
ce490163fe
|
@ -1566,7 +1566,10 @@ void AP_Logger::prepare_at_arming_sys_file_logging()
|
||||||
*/
|
*/
|
||||||
static const char *log_content_filenames[] = {
|
static const char *log_content_filenames[] = {
|
||||||
"@SYS/uarts.txt",
|
"@SYS/uarts.txt",
|
||||||
|
#ifdef HAL_DEBUG_BUILD
|
||||||
|
// logging dma.txt has a performance impact
|
||||||
"@SYS/dma.txt",
|
"@SYS/dma.txt",
|
||||||
|
#endif
|
||||||
"@SYS/memory.txt",
|
"@SYS/memory.txt",
|
||||||
"@SYS/threads.txt",
|
"@SYS/threads.txt",
|
||||||
"@SYS/timers.txt",
|
"@SYS/timers.txt",
|
||||||
|
|
Loading…
Reference in New Issue