Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: sdhc: esp32: remove unused code #78311

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions drivers/sdhc/sdhc_esp32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1081,10 +1081,9 @@ static int sdhc_esp32_request(const struct device *dev, struct sdhc_command *cmd
struct sdhc_data *data)
{
const struct sdhc_esp32_config *cfg = dev->config;
const sdmmc_dev_t *sdio_hw = cfg->sdio_hw;
int retries = (int)(cmd->retries + 1); /* first try plus retries */
uint32_t timeout_cfg;
int ret_esp;
uint32_t timeout_cfg = 0;
int ret_esp = 0;
int ret = 0;

/* convert command structures Zephyr vs ESP */
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ manifest:
groups:
- hal
- name: hal_espressif
revision: a79e607333bbd115a16e801ba49840a80c852253
revision: aa6a967d1ab4077691aa046229a782102960218a
path: modules/hal/espressif
west-commands: west/west-commands.yml
groups:
Expand Down
Loading