Josep Comas 2024-04-07 15:31:26 -04:00 zatwierdzone przez GitHub
commit e4f02ae9f9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -297,6 +297,12 @@ static mp_obj_t machine_sdcard_make_new(const mp_obj_type_t *type, size_t n_args
// it is a good idea to set the internal pull-ups anyway.
// slot_config.flags = SDMMC_SLOT_FLAG_INTERNAL_PULLUP;
#if CONFIG_IDF_TARGET_ESP32S3
SET_CONFIG_PIN(slot_config, clk, ARG_sck);
SET_CONFIG_PIN(slot_config, cmd, ARG_mosi);
SET_CONFIG_PIN(slot_config, d0, ARG_miso);
#endif
SET_CONFIG_PIN(slot_config, gpio_cd, ARG_cd);
SET_CONFIG_PIN(slot_config, gpio_wp, ARG_wp);