1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +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

@ -344,19 +344,6 @@ void init(void)
#endif
#endif
SD_Error error;
SD_Detect_LowLevel_Init();
if (SD_Detect() == SD_PRESENT) {
while ((error = SD_Init()) != SD_RESPONSE_NO_ERROR) {
};
SD_DeInit();
}
SD_Detect_LowLevel_DeInit();
#ifdef USE_HARDWARE_REVISION_DETECTION
updateHardwareRevision();
#endif
@ -375,6 +362,12 @@ void init(void)
}
#endif
#if defined(SPRACINGF3MINI) && defined(SONAR) && defined(USE_SOFTSERIAL1)
if (feature(FEATURE_SONAR) && feature(FEATURE_SOFTSERIAL)) {
serialRemovePort(SERIAL_PORT_SOFTSERIAL1);
}
#endif
#ifdef USE_I2C
#if defined(NAZE)