chore: remove PCBFRSKY definition (#6424)
This commit is contained in:
@@ -36,7 +36,6 @@ TEST_F(SpecialFunctionsTest, SwitchFiledSize)
|
||||
"values";
|
||||
}
|
||||
|
||||
#if defined(PCBFRSKY)
|
||||
TEST_F(SpecialFunctionsTest, FlightReset)
|
||||
{
|
||||
g_model.customFn[0].swtch = SWSRC_FIRST_SWITCH;
|
||||
@@ -122,6 +121,3 @@ TEST_F(SpecialFunctionsTest, GvarsInc)
|
||||
EXPECT_EQ(g_model.flightModeData[0].gvars[0], 28);
|
||||
}
|
||||
#endif // #if defined(GVARS)
|
||||
|
||||
#endif // #if defined(PCBFRSKY)
|
||||
|
||||
|
||||
@@ -46,12 +46,8 @@ extern const char * nchar2string(const char * string, int size);
|
||||
#define EXPECT_ZSTREQ(c_string, z_string) EXPECT_STREQ(c_string, zchar2string(z_string, sizeof(z_string)))
|
||||
#define EXPECT_STRNEQ(c_string, n_string) EXPECT_STREQ(c_string, nchar2string(n_string, sizeof(n_string)))
|
||||
|
||||
#if defined(PCBFRSKY)
|
||||
#define RADIO_RESET() \
|
||||
g_eeGeneral.switchConfig = 0x00007bff
|
||||
#else
|
||||
#define RADIO_RESET()
|
||||
#endif
|
||||
|
||||
inline void SYSTEM_RESET()
|
||||
{
|
||||
|
||||
@@ -103,7 +103,6 @@ TEST(getSwitch, inputWithTrim)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(PCBFRSKY)
|
||||
TEST(evalLogicalSwitches, playFile)
|
||||
{
|
||||
SYSTEM_RESET();
|
||||
@@ -135,7 +134,6 @@ TEST(evalLogicalSwitches, playFile)
|
||||
|
||||
#undef MODELNAME
|
||||
}
|
||||
#endif
|
||||
|
||||
#define SWSRC_SA2 (SWSRC_FIRST_SWITCH + 2)
|
||||
#define SWSRC_SD2 (SWSRC_FIRST_SWITCH + 3 * 3 + 2)
|
||||
|
||||
Reference in New Issue
Block a user