From b973a8a490d7a37b06af35a63a1be81e4ac85d62 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Mon, 21 May 2018 15:29:54 +0100 Subject: [PATCH] BLE: Add default constructor to peer_address_type_t --- features/FEATURE_BLE/ble/BLETypes.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/FEATURE_BLE/ble/BLETypes.h b/features/FEATURE_BLE/ble/BLETypes.h index 5a5b13fb22..7e57b17e2d 100644 --- a/features/FEATURE_BLE/ble/BLETypes.h +++ b/features/FEATURE_BLE/ble/BLETypes.h @@ -564,6 +564,12 @@ struct peer_address_type_t :SafeEnum { */ peer_address_type_t(type value) : SafeEnum(value) { } + + /** + * Default initialization of peer_address_type_t. + */ + peer_address_type_t() : + SafeEnum(PUBLIC) { } }; } // namespace ble