Skip to content

Commit 9a44d01

Browse files
author
Marcin Tomczyk
committed
IOTSTOR-1044 - SPIFBlockDevice is broken in Mbed OS master(6), removed incorrect spi.deselect at constructor.
1 parent 77d5583 commit 9a44d01

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ SPIFBlockDevice::SPIFBlockDevice(PinName mosi, PinName miso, PinName sclk, PinNa
109109
if (SPIF_BD_ERROR_OK != _spi_set_frequency(freq)) {
110110
tr_error("SPI Set Frequency Failed");
111111
}
112-
113-
_spi.deselect();
114112
}
115113

116114
int SPIFBlockDevice::init()

0 commit comments

Comments
 (0)