Skip to content

Commit

Permalink
spi_master: fix spi cs_ena_posttrans issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Icarus113 committed Jan 7, 2022
1 parent 2b95a62 commit ca6636c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/soc/src/esp32s2/include/hal/spi_ll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ca6636c

Please sign in to comment.