Skip to content

Commit

Permalink
Fix SFDP read dummy cycles not being reset
Browse files Browse the repository at this point in the history
  • Loading branch information
boraozgen committed Oct 2, 2020
1 parent 0db72d0 commit ad9385c
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 ad9385c

Please sign in to comment.