Skip to content

Commit 4b83fe1

Browse files
authored
Merge pull request #9763 from paul-szczepanek-arm/gattserver-fix
BLE: fixed initialisation order in GattServer
2 parents e591662 + db4aecb commit 4b83fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/ble/GattServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ class GattServer {
196196
* Construct a GattServer instance.
197197
*/
198198
GattServer() :
199+
eventHandler(NULL),
199200
serviceCount(0),
200201
characteristicCount(0),
201-
eventHandler(NULL),
202202
dataSentCallChain(),
203203
dataWrittenCallChain(),
204204
dataReadCallChain(),

0 commit comments

Comments
 (0)