From 9a44d01a2bb020369ca0ffa02a3b1afd283f81cf Mon Sep 17 00:00:00 2001 From: Marcin Tomczyk Date: Fri, 15 May 2020 08:43:58 -0700 Subject: [PATCH] IOTSTOR-1044 - SPIFBlockDevice is broken in Mbed OS master(6), removed incorrect spi.deselect at constructor. --- .../storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.cpp b/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.cpp index 884b1f549b..0803bf4959 100644 --- a/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.cpp +++ b/components/storage/blockdevice/COMPONENT_SPIF/SPIFBlockDevice.cpp @@ -109,8 +109,6 @@ SPIFBlockDevice::SPIFBlockDevice(PinName mosi, PinName miso, PinName sclk, PinNa if (SPIF_BD_ERROR_OK != _spi_set_frequency(freq)) { tr_error("SPI Set Frequency Failed"); } - - _spi.deselect(); } int SPIFBlockDevice::init()