Skip to content

Commit

Permalink
Merge pull request ARMmbed#59 from deepikabhavnani/big_buf_issue
Browse files Browse the repository at this point in the history
Force D0 enabled during device select
  • Loading branch information
geky authored Aug 31, 2017
2 parents 1d3fa9d + 6c6a594 commit 9439243
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SDBlockDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,7 @@ void SDBlockDevice::_spi_init() {

void SDBlockDevice::_select() {
_spi.lock();
_spi.write(SPI_FILL_CHAR);
_cs = 0;
}

Expand Down

0 comments on commit 9439243

Please sign in to comment.