don't link debug.c to pid unit test
This commit is contained in:
parent
2c02c14a1d
commit
7e12e9da18
|
@ -298,7 +298,6 @@ pid_unittest_SRC := \
|
|||
$(USER_DIR)/drivers/accgyro/gyro_sync.c \
|
||||
$(USER_DIR)/flight/pid.c \
|
||||
$(USER_DIR)/pg/pg.c \
|
||||
$(USER_DIR)/build/debug.c \
|
||||
$(USER_DIR)/fc/runtime_config.c
|
||||
|
||||
rcdevice_unittest_DEFINES := \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue