mirror of https://github.com/ARMmbed/mbed-os.git
Include events library headers in mbed.h
The inclusion is conditioned by the presence of the events library (`MBED_CONF_EVENTS_PRESENT`). This ensures backward compatibility with SDK builds.pull/2860/head
parent
f16342f321
commit
53218f9be8
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "events",
|
||||
"config": {
|
||||
"present": 1
|
||||
}
|
||||
}
|
|
@ -26,6 +26,10 @@
|
|||
#include "network-socket/nsapi.h"
|
||||
#endif
|
||||
|
||||
#if MBED_CONF_EVENTS_PRESENT
|
||||
#include "events/mbed_events.h"
|
||||
#endif
|
||||
|
||||
#include "toolchain.h"
|
||||
#include "platform.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue