Skip to content

Commit 58cad6f

Browse files
committed
Add DEVICE_OSPI in SFDP.cpp
1 parent e7ae7f6 commit 58cad6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/source/SFDP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <cstring>
2121
#include "drivers/internal/SFDP.h"
2222

23-
#if (DEVICE_SPI || DEVICE_QSPI)
23+
#if (DEVICE_SPI || DEVICE_QSPI || DEVICE_OSPI)
2424

2525
#include "features/frameworks/mbed-trace/mbed-trace/mbed_trace.h"
2626
#define TRACE_GROUP "SFDP"
@@ -350,4 +350,4 @@ int sfdp_iterate_next_largest_erase_type(uint8_t &bitfield,
350350
}
351351

352352
} /* namespace mbed */
353-
#endif /* (DEVICE_SPI || DEVICE_QSPI) */
353+
#endif /* (DEVICE_SPI || DEVICE_QSPI || DEVICE_OSPI) */

0 commit comments

Comments
 (0)