aaaa

Dependencies:   mbed

Fork of mbed-os-example-ble-EddystoneObserver by mbed-os-examples

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed May 10 10:16:09 2017 +0100
Parent:
28:d863bcd84513
Child:
30:a82653bf1693
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:32 2017 +0100
+++ b/source/main.cpp	Wed May 10 10:16:09 2017 +0100
@@ -20,9 +20,7 @@
 
 static const int URI_MAX_LENGTH = 18;             // Maximum size of service data in ADV packets
 
-static EventQueue eventQueue(
-    /* event count */ 16 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 16 * EVENTS_EVENT_SIZE);
 
 DigitalOut led1(LED1, 1);