From 703b0bbca6fe02c29e66b253b4e9ef67ccd88bdc Mon Sep 17 00:00:00 2001 From: jflyper Date: Sun, 20 Oct 2019 21:56:52 +0900 Subject: [PATCH] Enable DEBUG_BB_OUTPUT by default. Slightly modified explanation about this option. --- src/main/blackbox/blackbox_io.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/blackbox/blackbox_io.c b/src/main/blackbox/blackbox_io.c index 8e8b86fd6b..6297063b92 100644 --- a/src/main/blackbox/blackbox_io.c +++ b/src/main/blackbox/blackbox_io.c @@ -30,14 +30,17 @@ #include "build/debug.h" -// Debugging code that occasionally become useful when users start to complain broken log output. -// Enable DEBUG_BB_OUTPUT and set debug_mode = BLACKBOX_OUTPUT to see debug values. -// (Note that bandwidth usage slightly uincrease as it will include debug variables themselves). +// Debugging code that become useful when output bandwidth saturation is suspected. +// Set debug_mode = BLACKBOX_OUTPUT to see following debug values. // // 0: Average output bandwidth in last 100ms // 1: Maximum hold of above. // 2: Bytes dropped due to output buffer full. -//#define DEBUG_BB_OUTPUT +// +// Note that bandwidth usage slightly increases when DEBUG_BB_OUTPUT is enabled, +// as output will include debug variables themselves. + +#define DEBUG_BB_OUTPUT #include "blackbox.h" #include "blackbox_io.h"