Skip to content

Commit b635633

Browse files
committed
Revert "QSPI: call is_mem_ready before trying to set write enable bit"
This reverts commit 3724f42.
1 parent a902e90 commit b635633

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -1243,11 +1243,6 @@ int QSPIFBlockDevice::_set_write_enable()
12431243
uint8_t status_value = 0;
12441244
int status = -1;
12451245

1246-
if (false == _is_mem_ready()) {
1247-
tr_error("Device not ready, set_write_enable failed");
1248-
return -1;
1249-
}
1250-
12511246
do {
12521247
if (QSPI_STATUS_OK != _qspi_send_general_command(QSPIF_INST_WREN, QSPI_NO_ADDRESS_COMMAND, NULL, 0, NULL, 0)) {
12531248
tr_error("Sending WREN command FAILED");

0 commit comments

Comments
 (0)