1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Cleanup debug code.

This commit is contained in:
Dominic Clifton 2015-04-14 13:58:45 +01:00
parent c11c25514b
commit f28158a5a7
22 changed files with 107 additions and 68 deletions

View file

@ -25,6 +25,8 @@
#define BARO
extern "C" {
#include "debug.h"
#include "common/axis.h"
#include "common/maths.h"
@ -145,7 +147,7 @@ rollAndPitchInclination_t inclination;
int32_t accSum[XYZ_AXIS_COUNT];
//int16_t magADC[XYZ_AXIS_COUNT];
int32_t BaroAlt;
int16_t debug[4];
int16_t debug[DEBUG16_VALUE_COUNT];
uint8_t stateFlags;
uint16_t flightModeFlags;

View file

@ -23,6 +23,8 @@
#define BARO
extern "C" {
#include "debug.h"
#include "common/axis.h"
#include "common/maths.h"
@ -79,7 +81,7 @@ int16_t heading;
gyro_t gyro;
int16_t magADC[XYZ_AXIS_COUNT];
int32_t BaroAlt;
int16_t debug[4];
int16_t debug[DEBUG16_VALUE_COUNT];
uint8_t stateFlags;
uint16_t flightModeFlags;

View file

@ -21,6 +21,8 @@
#include <limits.h>
extern "C" {
#include "debug.h"
#include "platform.h"
#include "common/axis.h"
@ -293,7 +295,7 @@ int16_t rcCommand[4];
int16_t rcData[MAX_SUPPORTED_RC_CHANNEL_COUNT];
uint32_t rcModeActivationMask;
int16_t debug[4];
int16_t debug[DEBUG16_VALUE_COUNT];
uint8_t stateFlags;
uint16_t flightModeFlags;

View file

@ -22,6 +22,8 @@
#include <limits.h>
extern "C" {
#include "debug.h"
#include "platform.h"
#include "common/axis.h"
@ -148,7 +150,7 @@ TEST(TelemetryHottTest, PrepareGPSMessage_Altitude1m)
extern "C" {
int16_t debug[4];
int16_t debug[DEBUG16_VALUE_COUNT];
uint8_t stateFlags;