Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: src/main.cpp
- Revision:
- 1:628e1249eaa1
- Parent:
- 0:f43a2a24edc2
--- a/src/main.cpp Fri Mar 01 10:03:10 2019 +0000
+++ b/src/main.cpp Fri Mar 01 10:05:55 2019 +0000
@@ -2,12 +2,10 @@
#include <mbed.h>
#include "BLE_EH.h"
-static events::EventQueue event_queue(/* event count */ 16 * EVENTS_EVENT_SIZE);
+static events::EventQueue event_queue(16 * EVENTS_EVENT_SIZE);
-//Serial serial(USBTX, USBRX);
RawSerial serial(P0_6, P0_8, 115200);
-/** Schedule processing of events from the BLE middleware in the event queue. */
void schedule_ble_events(BLE::OnEventsToProcessCallbackContext *context) {
event_queue.call(Callback<void()>(&context->ble, &BLE::processEvents));
}