Skip to content

Commit 2856adc

Browse files
committed
Add default initialisation of own_address_type_t
1 parent 15bb228 commit 2856adc

File tree

1 file changed

+6
-0
lines changed
  • features/FEATURE_BLE/ble/gap

1 file changed

+6
-0
lines changed

features/FEATURE_BLE/ble/gap/Types.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,12 @@ struct own_address_type_t : SafeEnum<own_address_type_t, uint8_t> {
578578
own_address_type_t(type value) : SafeEnum(value)
579579
{
580580
}
581+
582+
/**
583+
* Default initialization of own_address_type_t.
584+
*/
585+
own_address_type_t() :
586+
SafeEnum<own_address_type_t, uint8_t>(PUBLIC) { }
581587
};
582588

583589
/**

0 commit comments

Comments
 (0)