mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(spi_slave): add p4 hp spi slave driver support
This commit is contained in:
@@ -35,7 +35,6 @@ static void s_spi_slave_hal_dma_init_config(const spi_slave_hal_context_t *hal)
|
||||
|
||||
void spi_slave_hal_init(spi_slave_hal_context_t *hal, const spi_slave_hal_config_t *hal_config)
|
||||
{
|
||||
memset(hal, 0, sizeof(spi_slave_hal_context_t));
|
||||
spi_dev_t *hw = SPI_LL_GET_HW(hal_config->host_id);
|
||||
hal->hw = hw;
|
||||
hal->dma_in = hal_config->dma_in;
|
||||
|
||||
Reference in New Issue
Block a user