Skip to content

Commit

Permalink
Merge pull request #13698 from boraozgen/bugfix/spif-read-dummy-bytes
Browse files Browse the repository at this point in the history
Fix SPIF read dummy cycles not being reset
  • Loading branch information
0xc0170 authored Nov 5, 2020
2 parents c877365 + ad9385c commit 77638f9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,6 @@ int SPIFBlockDevice::_spi_send_read_sfdp_command(bd_addr_t addr, void *rx_buffer
{
// Set 1-1-1 bus mode for SFDP header parsing
// Initial SFDP read tables are read with 8 dummy cycles
_read_dummy_and_mode_cycles = 8;
_dummy_and_mode_cycles = 8;

int status = _spi_send_read_command(SPIF_SFDP, (uint8_t *)rx_buffer, addr, rx_length);
Expand Down

0 comments on commit 77638f9

Please sign in to comment.