QSPIFBlockDevice: Use fully-qualified include path

In Mbed OS, each library has an `include/<library>/` subdirectory
containing headers. The recommended way to include a header is
`#include "<library>/<header>.h"` to avoid potential conflicts with
any external modules that have same names of headers.

This is not enforced yet, and both include/ and include/<component>/
are in a library's include paths, to avoid breaking preexisting
Mbed projects that don't follow the recommendation. But code within
Mbed OS should follow it at least.
pull/14989/head
Lingkai Dong 2021-08-11 15:19:28 +01:00
parent e04a16fd9f
commit 8dfad16f5d
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
#include "blockdevice/internal/SFDP.h"
#include "platform/Callback.h"
#include "QSPIFBlockDevice.h"
#include "QSPIF/QSPIFBlockDevice.h"
#include <string.h>
#include "rtos/ThisThread.h"
@ -25,7 +25,7 @@
#define MBED_CONF_MBED_TRACE_ENABLE 0
#endif
#include "mbed_trace.h"
#include "mbed-trace/mbed_trace.h"
#define TRACE_GROUP "QSPIF"
using namespace std::chrono;