Skip to content

Commit b973a8a

Browse files
committed
BLE: Add default constructor to peer_address_type_t
1 parent bdad5d6 commit b973a8a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/FEATURE_BLE/ble/BLETypes.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,12 @@ struct peer_address_type_t :SafeEnum<peer_address_type_t, uint8_t> {
564564
*/
565565
peer_address_type_t(type value) :
566566
SafeEnum<peer_address_type_t, uint8_t>(value) { }
567+
568+
/**
569+
* Default initialization of peer_address_type_t.
570+
*/
571+
peer_address_type_t() :
572+
SafeEnum<peer_address_type_t, uint8_t>(PUBLIC) { }
567573
};
568574

569575
} // namespace ble

0 commit comments

Comments
 (0)