mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
Make the debug array cells int32 and increase cell count to 8
This commit is contained in:
parent
3508e56ed0
commit
4ee617771c
11 changed files with 27 additions and 15 deletions
|
@ -19,8 +19,8 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define DEBUG16_VALUE_COUNT 4
|
||||
extern int16_t debug[DEBUG16_VALUE_COUNT];
|
||||
#define DEBUG32_VALUE_COUNT 8
|
||||
extern int32_t debug[DEBUG32_VALUE_COUNT];
|
||||
extern uint8_t debugMode;
|
||||
|
||||
#define DEBUG_SET(mode, index, value) {if (debugMode == (mode)) {debug[(index)] = (value);}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue