The Shed / Mbed OS nRF52_Button_MWE
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));
 }