From 13e777c2ce898f9d4a3e3cb994a6e42ad8ed3476 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Fri, 26 Jul 2019 04:50:42 -0700 Subject: [PATCH] px4_fmuv5x:Use slot 0 with SDMMC2 --- boards/px4/fmu-v5x/src/board_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/px4/fmu-v5x/src/board_config.h b/boards/px4/fmu-v5x/src/board_config.h index fb9f1e2c7f..c9e6c20073 100644 --- a/boards/px4/fmu-v5x/src/board_config.h +++ b/boards/px4/fmu-v5x/src/board_config.h @@ -560,8 +560,8 @@ #define SPEKTRUM_RX_AS_UART() /* Can be left as uart */ #define SPEKTRUM_OUT(_one_true) px4_arch_gpiowrite(GPIO_PPM_IN_AS_OUT, (_one_true)) -#define SDIO_SLOTNO 1 /* Only one slot */ -#define SDIO_MINOR 1 +#define SDIO_SLOTNO 0 /* Only one slot */ +#define SDIO_MINOR 0 /* SD card bringup does not work if performed on the IDLE thread because it * will cause waiting. Use either: