Fixed stubbing of 'debug.c' in unittests.
This commit is contained in:
parent
98fb4d7c66
commit
bf0a9c5c4f
|
@ -210,7 +210,6 @@ scheduler_unittest_SRC := \
|
|||
sensor_gyro_unittest_SRC := \
|
||||
$(USER_DIR)/sensors/gyro.c \
|
||||
$(USER_DIR)/sensors/boardalignment.c \
|
||||
$(USER_DIR)/build/debug.c \
|
||||
$(USER_DIR)/common/filter.c \
|
||||
$(USER_DIR)/common/maths.c \
|
||||
$(USER_DIR)/drivers/accgyro/accgyro_fake.c \
|
||||
|
|
|
@ -44,6 +44,9 @@ extern "C" {
|
|||
struct gyroSensor_s;
|
||||
STATIC_UNIT_TESTED void performGyroCalibration(struct gyroSensor_s *gyroSensor, uint8_t gyroMovementCalibrationThreshold);
|
||||
STATIC_UNIT_TESTED bool fakeGyroRead(gyroDev_t *gyro);
|
||||
|
||||
uint8_t debugMode;
|
||||
int16_t debug[DEBUG16_VALUE_COUNT];
|
||||
}
|
||||
|
||||
#include "unittest_macros.h"
|
||||
|
|
Loading…
Reference in New Issue