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.
Fork of mbed-os-example-ble-Button by
Diff: source/main.cpp
- Revision:
- 30:84797119c14a
- Parent:
- 14:014670ad5e18
--- a/source/main.cpp Tue May 09 14:45:28 2017 +0100
+++ b/source/main.cpp Wed May 10 10:15:54 2017 +0100
@@ -23,9 +23,7 @@
DigitalOut led1(LED1, 1);
InterruptIn button(BLE_BUTTON_PIN_NAME);
-static EventQueue eventQueue(
- /* event count */ 10 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 10 * EVENTS_EVENT_SIZE);
const static char DEVICE_NAME[] = "Button";
static const uint16_t uuid16_list[] = {ButtonService::BUTTON_SERVICE_UUID};
