Skip to content

Commit

Permalink
[sfud] Correct dual_io dummy cycle setting to 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
wosayttn committed Mar 10, 2021
1 parent 550f342 commit 22ab98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/drivers/spi/sfud/src/sfud.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ sfud_err sfud_qspi_fast_read_enable(sfud_flash *flash, uint8_t data_line_width)
break;
case 2:
if (read_mode & DUAL_IO) {
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_IO_READ_DATA, 1, 2, 8, 2);
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_IO_READ_DATA, 1, 2, 4, 2);
} else if (read_mode & DUAL_OUTPUT) {
qspi_set_read_cmd_format(flash, SFUD_CMD_DUAL_OUTPUT_READ_DATA, 1, 1, 8, 2);
} else {
Expand Down

0 comments on commit 22ab98a

Please sign in to comment.