mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Enable DEBUG_BB_OUTPUT by default.
Slightly modified explanation about this option.
This commit is contained in:
parent
09bbd4000a
commit
703b0bbca6
1 changed files with 7 additions and 4 deletions
|
@ -30,14 +30,17 @@
|
||||||
|
|
||||||
#include "build/debug.h"
|
#include "build/debug.h"
|
||||||
|
|
||||||
// Debugging code that occasionally become useful when users start to complain broken log output.
|
// Debugging code that become useful when output bandwidth saturation is suspected.
|
||||||
// Enable DEBUG_BB_OUTPUT and set debug_mode = BLACKBOX_OUTPUT to see debug values.
|
// Set debug_mode = BLACKBOX_OUTPUT to see following debug values.
|
||||||
// (Note that bandwidth usage slightly uincrease as it will include debug variables themselves).
|
|
||||||
//
|
//
|
||||||
// 0: Average output bandwidth in last 100ms
|
// 0: Average output bandwidth in last 100ms
|
||||||
// 1: Maximum hold of above.
|
// 1: Maximum hold of above.
|
||||||
// 2: Bytes dropped due to output buffer full.
|
// 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.h"
|
||||||
#include "blackbox_io.h"
|
#include "blackbox_io.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue