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:
- 12:5e1ef2515c70
- Parent:
- 3:b1e385adea43
- Child:
- 13:c5f3a7d8764a
--- a/source/main.cpp Wed Oct 05 05:15:47 2016 +0100
+++ b/source/main.cpp Wed Oct 12 20:00:13 2016 +0100
@@ -91,7 +91,7 @@
struct AdvertisingData_t {
uint8_t length; /* doesn't include itself */
GapAdvertisingData::DataType_t dataType;
- uint8_t data[0];
+ uint8_t data[1];
} AdvDataPacket;
struct ApplicationData_t {