From 5e9c1bf60e6ee5ce75139662549e57ac63a58a12 Mon Sep 17 00:00:00 2001 From: shandianchengzi <58585665+shandianchengzi@users.noreply.github.com> Date: Mon, 8 Sep 2025 16:37:33 +0800 Subject: [PATCH] [fix] Update Macro variable --- storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp b/storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp index 52f74ce9408..2a63de0d3ab 100644 --- a/storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp +++ b/storage/blockdevice/COMPONENT_QSPIF/source/QSPIFBlockDevice.cpp @@ -1093,7 +1093,7 @@ int QSPIFBlockDevice::_handle_vendor_quirks() // 3. Should never attempt to enable 4-byte addressing (it causes reads and writes to fail) tr_debug("Applying quirks for macronix"); _needs_fast_mode = true; - _num_status_registers = MBED_CONF_QSPI_NUM_STATUS_REGISTER; + _num_status_registers = MBED_CONF_QSPIF_QSPI_NUM_STATUS_REGISTER; _read_status_reg_2_inst = QSPIF_INST_RDCR; _attempt_4_byte_addressing = false; break;