1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

SPRacingF3Mini - Initial support for new target.

This commit is contained in:
Dominic Clifton 2015-08-04 17:08:02 +01:00 committed by borisbstyle
parent 7f398cbe4b
commit 52d97869b8
26 changed files with 37472 additions and 22 deletions

View file

@ -384,10 +384,14 @@ static void resetConf(void)
masterConfig.version = EEPROM_CONF_VERSION;
masterConfig.mixerMode = MIXER_QUADX;
featureClearAll();
#if defined(CJMCU) || defined(SPARKY) || defined(COLIBRI_RACE) || defined(MOTOLAB) || defined(LUX_RACE)
#if defined(CJMCU) || defined(SPARKY) || defined(COLIBRI_RACE) || defined(MOTOLAB) || defined(SPRACINGF3MINI)
featureSet(FEATURE_RX_PPM);
#endif
#if defined(SPRACINGF3MINI)
featureSet(FEATURE_DISPLAY);
#endif
#ifdef BOARD_HAS_VOLTAGE_DIVIDER
// only enable the VBAT feature by default if the board has a voltage divider otherwise
// the user may see incorrect readings and unexpected issues with pin mappings may occur.