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: source/main.cpp
- Revision:
- 28:64621b6587e1
- Parent:
- 12:059c7b7fb18a
- Child:
- 45:9fe6d1e21b8a
diff -r 9fde1d0514c1 -r 64621b6587e1 source/main.cpp
--- a/source/main.cpp Tue May 09 14:46:01 2017 +0100
+++ b/source/main.cpp Wed May 10 10:17:12 2017 +0100
@@ -25,9 +25,7 @@
static bool triggerLedCharacteristic;
static const char PEER_NAME[] = "LED";
-static EventQueue eventQueue(
- /* event count */ 16 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 16 * EVENTS_EVENT_SIZE);
void periodicCallback(void) {
alivenessLED = !alivenessLED; /* Do blinky on LED1 while we're waiting for BLE events */