drivers: spi_esp32_spim: Support more CS pins per SPI instance
Support more CS pins per SPI instance Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
parent
04a080bf70
commit
f845d9ac02
|
@ -189,6 +189,7 @@ static int IRAM_ATTR spi_esp32_configure(const struct device *dev,
|
|||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
hal_dev->cs_pin_id = ctx->config->slave;
|
||||
int ret = pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT);
|
||||
|
||||
/* input parameters to calculate timing configuration */
|
||||
|
|
Loading…
Reference in New Issue