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:
Andrew Tridgell 2024-03-19 06:11:45 +11:00
parent 72374c450a
commit 167ac06da9

View File

@ -1566,7 +1566,10 @@ void AP_Logger::prepare_at_arming_sys_file_logging()
*/
static const char *log_content_filenames[] = {
"@SYS/uarts.txt",
#ifdef HAL_DEBUG_BUILD
// logging dma.txt has a performance impact
"@SYS/dma.txt",
#endif
"@SYS/memory.txt",
"@SYS/threads.txt",
"@SYS/timers.txt",