1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Unit test tidy

This commit is contained in:
Martin Budden 2016-12-21 22:44:57 +00:00
parent e78a225ed3
commit 2a18401d21
3 changed files with 194 additions and 124 deletions

View file

@ -31,8 +31,6 @@ extern "C" {
#include "io/motors.h"
}
PG_DECLARE(motorConfig_t, motorConfig);
PG_REGISTER_WITH_RESET_TEMPLATE(motorConfig_t, motorConfig, PG_MOTOR_CONFIG, 1);
@ -43,6 +41,8 @@ PG_RESET_TEMPLATE(motorConfig_t, motorConfig,
.mincommand = 1000,
.motorPwmRate = 400,
);
}
#include "unittest_macros.h"
#include "gtest/gtest.h"
@ -88,6 +88,5 @@ TEST(ParameterGroupsfTest, Test_pgFind)
// STUBS
extern "C" {
}