mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +03:00
Fixed stubbing of 'debug.c' in unittests.
This commit is contained in:
parent
98fb4d7c66
commit
bf0a9c5c4f
2 changed files with 3 additions and 1 deletions
|
@ -210,7 +210,6 @@ scheduler_unittest_SRC := \
|
||||||
sensor_gyro_unittest_SRC := \
|
sensor_gyro_unittest_SRC := \
|
||||||
$(USER_DIR)/sensors/gyro.c \
|
$(USER_DIR)/sensors/gyro.c \
|
||||||
$(USER_DIR)/sensors/boardalignment.c \
|
$(USER_DIR)/sensors/boardalignment.c \
|
||||||
$(USER_DIR)/build/debug.c \
|
|
||||||
$(USER_DIR)/common/filter.c \
|
$(USER_DIR)/common/filter.c \
|
||||||
$(USER_DIR)/common/maths.c \
|
$(USER_DIR)/common/maths.c \
|
||||||
$(USER_DIR)/drivers/accgyro/accgyro_fake.c \
|
$(USER_DIR)/drivers/accgyro/accgyro_fake.c \
|
||||||
|
|
|
@ -44,6 +44,9 @@ extern "C" {
|
||||||
struct gyroSensor_s;
|
struct gyroSensor_s;
|
||||||
STATIC_UNIT_TESTED void performGyroCalibration(struct gyroSensor_s *gyroSensor, uint8_t gyroMovementCalibrationThreshold);
|
STATIC_UNIT_TESTED void performGyroCalibration(struct gyroSensor_s *gyroSensor, uint8_t gyroMovementCalibrationThreshold);
|
||||||
STATIC_UNIT_TESTED bool fakeGyroRead(gyroDev_t *gyro);
|
STATIC_UNIT_TESTED bool fakeGyroRead(gyroDev_t *gyro);
|
||||||
|
|
||||||
|
uint8_t debugMode;
|
||||||
|
int16_t debug[DEBUG16_VALUE_COUNT];
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "unittest_macros.h"
|
#include "unittest_macros.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue