mirror of
https://github.com/m5stack/M5Stack_MicroPython.git
synced 2026-05-20 10:14:44 -07:00
Fixed bug preventing SDCard to be configured for 1-line SD mode
This commit is contained in:
@@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user