mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
spi_master: fix spi cs_ena_posttrans issue
This commit is contained in:
@ -654,7 +654,7 @@ static inline void spi_ll_set_dummy(spi_dev_t *hw, int dummy_n)
|
||||
*/
|
||||
static inline void spi_ll_master_set_cs_hold(spi_dev_t *hw, int hold)
|
||||
{
|
||||
hw->ctrl2.cs_hold_time = hold - 1;
|
||||
hw->ctrl2.cs_hold_time = hold;
|
||||
hw->user.cs_hold = hold ? 1 : 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user