Skip to content

Commit

Permalink
Merge pull request #536 from oisalb/patch-1
Browse files Browse the repository at this point in the history
fix: update function name in mcp23x17.c to match the one in the header
  • Loading branch information
UncleRus authored Jul 11, 2023
2 parents 0a36606 + c966a9a commit 29d0b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mcp23x17/mcp23x17.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ esp_err_t mcp23x17_init_desc_spi(mcp23x17_t *dev, spi_host_device_t host, uint32
return spi_bus_add_device(host, &dev->spi_cfg, &dev->spi_dev);
}

esp_err_t mcp23x17_free_desc(mcp23x17_t *dev)
esp_err_t mcp23x17_free_desc_spi(mcp23x17_t *dev)
{
CHECK_ARG(dev);

Expand Down

0 comments on commit 29d0b7a

Please sign in to comment.