sdspi: fix CD and WP incorrectly configured as outputs
This commit is contained in:
parent
2a7d85cfa4
commit
92a16ac6e6
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ esp_err_t sdspi_host_init_slot(int slot, const sdspi_slot_config_t* slot_config)
|
||||||
// Configure CD and WP pins
|
// Configure CD and WP pins
|
||||||
io_conf = (gpio_config_t) {
|
io_conf = (gpio_config_t) {
|
||||||
.intr_type = GPIO_PIN_INTR_DISABLE,
|
.intr_type = GPIO_PIN_INTR_DISABLE,
|
||||||
.mode = GPIO_MODE_OUTPUT,
|
.mode = GPIO_MODE_INPUT,
|
||||||
.pin_bit_mask = 0,
|
.pin_bit_mask = 0,
|
||||||
.pull_up_en = true
|
.pull_up_en = true
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue