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-BatteryLevel by
Diff: source/main.cpp
- Revision:
- 29:7a6aff8c9468
- Parent:
- 13:eaa1343657a8
- Child:
- 46:6b66d08f304e
diff -r b8afe00e80bb -r 7a6aff8c9468 source/main.cpp
--- a/source/main.cpp Tue May 09 14:45:18 2017 +0100
+++ b/source/main.cpp Wed May 10 10:15:11 2017 +0100
@@ -28,9 +28,7 @@
static uint8_t batteryLevel = 50;
static BatteryService* batteryServicePtr;
-static EventQueue eventQueue(
- /* event count */ 16 * /* event size */ 32
-);
+static EventQueue eventQueue(/* event count */ 16 * EVENTS_EVENT_SIZE);
void disconnectionCallback(const Gap::DisconnectionCallbackParams_t *params)
{
