File tree Expand file tree Collapse file tree 3 files changed +4
-20
lines changed
Expand file tree Collapse file tree 3 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616#include " events/EventQueue.h"
17- #include " events/mbed_events.h"
1817
19- using mbed::Callback;
18+ #include " events/mbed_events.h"
19+ #include " mbed.h"
2020
21- namespace events {
2221
2322EventQueue::EventQueue (unsigned event_size, unsigned char *event_pointer)
2423{
@@ -78,4 +77,3 @@ void EventQueue::chain(EventQueue *target)
7877 equeue_chain (&_equeue, 0 );
7978 }
8079}
81- }
Original file line number Diff line number Diff line change 2121#if defined(EQUEUE_PLATFORM_MBED)
2222
2323#include < stdbool.h>
24- #include < string.h>
25- #include " platform/mbed_critical.h"
26- #include " drivers/Timer.h"
27- #include " drivers/Ticker.h"
28- #include " drivers/Timeout.h"
29- #include " drivers/LowPowerTimeout.h"
30- #include " drivers/LowPowerTicker.h"
31- #include " drivers/LowPowerTimer.h"
32-
33- using namespace mbed ;
24+ #include " mbed.h"
3425
3526// Ticker operations
3627#if MBED_CONF_RTOS_PRESENT
@@ -42,7 +33,6 @@ unsigned equeue_tick() {
4233#else
4334
4435#if MBED_CONF_EVENTS_USE_LOWPOWER_TIMER_TICKER
45-
4636#define ALIAS_TIMER LowPowerTimer
4737#define ALIAS_TICKER LowPowerTicker
4838#define ALIAS_TIMEOUT LowPowerTimeout
Original file line number Diff line number Diff line change 1515 */
1616
1717#include " events/mbed_shared_queues.h"
18-
19- #ifdef MBED_CONF_RTOS_PRESENT
20- #include " rtos/Thread.h"
21- using rtos::Thread;
22- #endif
18+ #include " mbed.h"
2319
2420using namespace events ;
2521
You can’t perform that action at this time.
0 commit comments