Fixed bug preventing SDCard to be configured for 1-line SD mode

This commit is contained in:
Boris Lovosevic
2018-04-06 01:18:02 +02:00
parent a09f392839
commit d9ee0a6cf7
20 changed files with 5 additions and 5 deletions
@@ -24,12 +24,12 @@
* THE SOFTWARE.
*/
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.3"
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.4"
#define MICROPY_GIT_HASH "g139d4989"
#define MICROPY_BUILD_DATE "2018-04-04"
#define MICROPY_BUILD_DATE "2018-04-06"
#define MICROPY_VERSION_MAJOR (3)
#define MICROPY_VERSION_MINOR (2)
#define MICROPY_VERSION_MICRO (3)
#define MICROPY_VERSION_STRING "3.2.3"
#define MICROPY_VERSION_MICRO (4)
#define MICROPY_VERSION_STRING "3.2.4"
#define MICROPY_CORE_VERSION "bcfff4f"
#define MICROPY_CORE_DATE "2018-03-30"
@@ -748,7 +748,7 @@ static void _sdcard_mount()
else {
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT();
if (sdcard_config.mode == 1) {
if (sdcard_config.mode == 2) {
// Use 1-line SD mode
gpio_set_pull_mode(2, GPIO_PULLUP_ONLY);
gpio_set_pull_mode(14, GPIO_PULLUP_ONLY);
Binary file not shown.
Binary file not shown.
Binary file not shown.