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-LED by
Revision 27:ff1fb7b5f9ee, committed 2017-05-10
- Comitter:
- mbed_official
- Date:
- Wed May 10 10:17:08 2017 +0100
- Parent:
- 26:1451c4ad0320
- Child:
- 28:045bb97687bf
- Commit message:
- Merge pull request #78 from ashok-rao/master
Using predefined macro for EVENT SIZE.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble
Changed in this revision
| source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/main.cpp Tue May 09 14:45:52 2017 +0100
+++ b/source/main.cpp Wed May 10 10:17:08 2017 +0100
@@ -25,9 +25,7 @@
const static char DEVICE_NAME[] = "LED";
static const uint16_t uuid16_list[] = {LEDService::LED_SERVICE_UUID};
-static EventQueue eventQueue(
- /* event count */ 10 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 10 * EVENTS_EVENT_SIZE);
LEDService *ledServicePtr;
