Merge pull request #10113 from knoopx/improve-custom-builds
This commit is contained in:
commit
b92f030434
|
@ -1776,6 +1776,7 @@ static void printMotorMix(dumpFlags_t dumpMask, const motorMixer_t *customMotorM
|
||||||
static void cliMotorMix(const char *cmdName, char *cmdline)
|
static void cliMotorMix(const char *cmdName, char *cmdline)
|
||||||
{
|
{
|
||||||
#ifdef USE_QUAD_MIXER_ONLY
|
#ifdef USE_QUAD_MIXER_ONLY
|
||||||
|
UNUSED(cmdName);
|
||||||
UNUSED(cmdline);
|
UNUSED(cmdline);
|
||||||
#else
|
#else
|
||||||
int check = 0;
|
int check = 0;
|
||||||
|
|
|
@ -58,6 +58,16 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(USE_MAG)
|
||||||
|
#undef USE_MAG_DATA_READY_SIGNAL
|
||||||
|
#undef USE_MAG_HMC5883
|
||||||
|
#undef USE_MAG_SPI_HMC5883
|
||||||
|
#undef USE_MAG_QMC5883
|
||||||
|
#undef USE_MAG_LIS3MDL
|
||||||
|
#undef USE_MAG_AK8963
|
||||||
|
#undef USE_MAG_SPI_AK8963
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(USE_BARO) && !defined(USE_GPS)
|
#if !defined(USE_BARO) && !defined(USE_GPS)
|
||||||
#undef USE_VARIO
|
#undef USE_VARIO
|
||||||
#endif
|
#endif
|
||||||
|
@ -192,6 +202,11 @@
|
||||||
#undef USE_USB_MSC
|
#undef USE_USB_MSC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(USE_SDCARD)
|
||||||
|
#undef USE_SDCARD_SDIO
|
||||||
|
#undef USE_SDCARD_SPI
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(USE_VCP)
|
#if !defined(USE_VCP)
|
||||||
#undef USE_USB_CDC_HID
|
#undef USE_USB_CDC_HID
|
||||||
#undef USE_USB_MSC
|
#undef USE_USB_MSC
|
||||||
|
|
Loading…
Reference in New Issue