mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Added ARRAYEND and DEBUG_SET utilities
This commit is contained in:
parent
d0daa186cc
commit
af5c1e3902
2 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,8 @@
|
|||
extern int16_t debug[DEBUG16_VALUE_COUNT];
|
||||
extern uint8_t debugMode;
|
||||
|
||||
#define DEBUG_SET(mode, index, value) {if (debugMode == (mode)) {debug[(index)] = (value);}}
|
||||
|
||||
#define DEBUG_SECTION_TIMES
|
||||
|
||||
#ifdef DEBUG_SECTION_TIMES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue