1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

don't link debug.c to pid unit test

This commit is contained in:
Thorsten Laux 2018-05-28 16:03:49 +02:00
parent 2c02c14a1d
commit 7e12e9da18
2 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,7 @@
#include "unittest_macros.h"
#include "gtest/gtest.h"
#include "build/debug.h"
bool simulateMixerSaturated = false;
float simulatedSetpointRate[3] = { 0,0,0 };
@ -30,6 +30,9 @@ float simulatedRcDeflection[3] = { 0,0,0 };
float simulatedThrottlePIDAttenuation = 1.0f;
float simulatedMotorMixRange = 0.0f;
int16_t debug[DEBUG16_VALUE_COUNT];
uint8_t debugMode;
extern "C" {
#include "build/debug.h"
#include "common/axis.h"