Skip to content

Commit 086d7e7

Browse files
authored
Merge pull request arduino-libraries#140 from Polldo/adv_initializer_list_warning
Fix warnings: Put initializer list params in the same order of their declaration
2 parents 51595db + 58a2f2e commit 086d7e7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/BLEAdvertisingData.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@
2323

2424
BLEAdvertisingData::BLEAdvertisingData() :
2525
_dataLength(0),
26+
_remainingLength(MAX_AD_DATA_LENGTH),
2627
_rawData(NULL),
2728
_rawDataLength(0),
28-
_advertisedServiceUuid(NULL),
29-
_advertisedServiceUuidLength(0),
29+
_flags(0),
30+
_hasFlags(false),
31+
_localName(NULL),
3032
_manufacturerData(NULL),
3133
_manufacturerDataLength(0),
3234
_manufacturerCompanyId(0),
3335
_hasManufacturerCompanyId(false),
34-
_localName(NULL),
36+
_advertisedServiceUuid(NULL),
37+
_advertisedServiceUuidLength(0),
3538
_serviceData(NULL),
36-
_serviceDataLength(0),
37-
_flags(0),
38-
_hasFlags(false),
39-
_remainingLength(MAX_AD_DATA_LENGTH)
39+
_serviceDataLength(0)
4040
{
4141
}
4242

0 commit comments

Comments
 (0)