BLE: Fix missing initialization in ble::phy_set_t.

pull/8738/head
Vincent Coubard 2018-11-15 09:54:58 +00:00
parent 47c4784e31
commit 2477d0e385
1 changed files with 3 additions and 5 deletions

View File

@ -1021,11 +1021,9 @@ public:
* @param phy_2m Prefer LE 2M if avaiable
* @param phy_coded Prefer coded modulation if avaiable
*/
phy_set_t(
bool phy_1m,
bool phy_2m,
bool phy_coded
) {
phy_set_t(bool phy_1m, bool phy_2m, bool phy_coded) :
_value()
{
set_1m(phy_1m);
set_2m(phy_2m);
set_coded(phy_coded);