mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
SPRF3EVO and AIORF3 builds broken. Include file problems fixed.
This commit is contained in:
parent
082ebd445a
commit
caee3d9c78
1 changed files with 4 additions and 26 deletions
|
@ -15,37 +15,15 @@
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#include <stdbool.h>
|
#include <platform.h>
|
||||||
//#include <stdint.h>
|
|
||||||
|
|
||||||
//#include <platform.h>
|
|
||||||
|
|
||||||
//#include "common/axis.h"
|
|
||||||
|
|
||||||
//#include "drivers/compass.h"
|
|
||||||
//#include "drivers/io.h"
|
|
||||||
//#include "drivers/pwm_esc_detect.h"
|
|
||||||
//#include "drivers/pwm_output.h"
|
|
||||||
//#include "drivers/sensor.h"
|
|
||||||
|
|
||||||
//#include "fc/rc_controls.h"
|
|
||||||
|
|
||||||
//#include "flight/failsafe.h"
|
|
||||||
//#include "flight/mixer.h"
|
|
||||||
//#include "flight/pid.h"
|
|
||||||
|
|
||||||
//#include "rx/rx.h"
|
|
||||||
|
|
||||||
//#include "sensors/sensors.h"
|
|
||||||
//#include "sensors/compass.h"
|
|
||||||
|
|
||||||
//#include "config/config_profile.h"
|
|
||||||
#include "config/config_master.h"
|
#include "config/config_master.h"
|
||||||
|
|
||||||
//#include "hardware_revision.h"
|
#ifdef TARGET_CONFIG
|
||||||
|
|
||||||
void targetConfiguration(master_t *config)
|
void targetConfiguration(master_t *config)
|
||||||
{
|
{
|
||||||
// Temporary workaround: Disable SDCard DMA by default since it causes errors on this target
|
// Temporary workaround: Disable SDCard DMA by default since it causes errors on this target
|
||||||
config->sdcardConfig.useDma = false;
|
config->sdcardConfig.useDma = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue