
aaaa
Fork of mbed-os-example-ble-EddystoneObserver by
Revision 12:5e1ef2515c70, committed 2016-10-12
- Comitter:
- mbed_official
- Date:
- Wed Oct 12 20:00:13 2016 +0100
- Parent:
- 11:fd8606aa9272
- Child:
- 13:c5f3a7d8764a
- Commit message:
- Merge pull request #31 from pan-/fix_flexible_array
[EddystoneObserver] Fix usage of flexible arrays.
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 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 {