1
0
Fork 0
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:
borisbstyle 2016-02-26 00:07:54 +01:00
parent 2e8fa5eab1
commit f30a188937
9 changed files with 52 additions and 9 deletions

View file

@ -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;