1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 17:55:30 +03:00

Removed some target dependencies, and added makefile target 'check-target-independence' to find dependencies.

This commit is contained in:
mikeller 2018-05-12 21:56:58 +12:00
parent 50ff0ddadb
commit ede204aa81
11 changed files with 28 additions and 20 deletions

View file

@ -115,8 +115,7 @@ void pgResetFn_compassConfig(compassConfig_t *compassConfig)
static int16_t magADCRaw[XYZ_AXIS_COUNT];
static uint8_t magInit = 0;
#if !defined(SITL)
#if !defined(SIMULATOR_BUILD)
bool compassDetect(magDev_t *dev)
{
magSensor_e magHardware = MAG_NONE;
@ -257,7 +256,7 @@ bool compassDetect(magDev_t *dev)
return false;
}
#endif // !SITL
#endif // !SIMULATOR_BUILD
bool compassInit(void)
{