1
0
Fork 0
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:
Michel Pastor 2018-12-02 21:40:08 +01:00
parent 3508e56ed0
commit 4ee617771c
11 changed files with 27 additions and 15 deletions

View file

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