Skip to content

Commit bb2870f

Browse files
pan-Cruz Monrreal II
authored andcommitted
BLE: Fix recursion in ble::advertising_data_status_t raw constructor.
1 parent 991c723 commit bb2870f

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_BLE/ble/gap

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/ble/gap/Types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ struct advertising_data_status_t : SafeEnum<advertising_data_status_t, uint8_t>
229229
* Explicit constructor from a raw value.
230230
*/
231231
explicit advertising_data_status_t(uint8_t raw_value) :
232-
SafeEnum(static_cast<advertising_data_status_t>(raw_value))
232+
SafeEnum(raw_value)
233233
{
234234
}
235235

0 commit comments

Comments
 (0)