mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Add selectable debug options
This commit is contained in:
parent
2e8fa5eab1
commit
f30a188937
9 changed files with 52 additions and 9 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
#define DEBUG16_VALUE_COUNT 4
|
||||
extern int16_t debug[DEBUG16_VALUE_COUNT];
|
||||
extern uint8_t debugMode;
|
||||
|
||||
#define DEBUG_SECTION_TIMES
|
||||
|
||||
|
@ -39,3 +40,12 @@ extern uint32_t sectionTimes[2][4];
|
|||
#define TIME_SECTION_END(index) {}
|
||||
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
DEBUG_CYCLETIME = 1,
|
||||
DEBUG_BATTERY,
|
||||
DEBUG_GYRO,
|
||||
DEBUG_ACCELEROMETER,
|
||||
DEBUG_MIXER,
|
||||
DEBUG_AIRMODE
|
||||
} debugType_e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue