Skip to content

Commit e8e0fb4

Browse files
author
offirko
committed
If QER is undefined: do nothing but log warning and continue
1 parent 1a4c11e commit e8e0fb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/storage/blockdevice/COMPONENT_QSPIF/QSPIFBlockDevice.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,8 @@ int QSPIFBlockDevice::_sfdp_set_quad_enabled(uint8_t *basic_param_table_ptr)
879879
tr_debug("Setting QE Bit, Bit 1 of Status Reg 2 -special read command");
880880
break;
881881
default:
882-
tr_warning("_setQuadEnable - Unsuported QER configuration");
883-
break;
882+
tr_warning("Unsuported QER configuration");
883+
return;
884884
}
885885

886886
// Configure BUS Mode to 1_1_1 for all commands other than Read

0 commit comments

Comments
 (0)