mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Switch to static storage for error counters
Remove DEBUG_INCR, and switch to static counters.
This commit is contained in:
parent
8627af832c
commit
a543ed8887
2 changed files with 5 additions and 3 deletions
|
@ -25,7 +25,6 @@ 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_INCR(mode, index) {if (debugMode == (mode)) {++debug[(index)];}}
|
||||
|
||||
#define DEBUG_SECTION_TIMES
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue