mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix missing initialization in ble::phy_set_t.
parent
47c4784e31
commit
2477d0e385
|
@ -1021,11 +1021,9 @@ public:
|
||||||
* @param phy_2m Prefer LE 2M if avaiable
|
* @param phy_2m Prefer LE 2M if avaiable
|
||||||
* @param phy_coded Prefer coded modulation if avaiable
|
* @param phy_coded Prefer coded modulation if avaiable
|
||||||
*/
|
*/
|
||||||
phy_set_t(
|
phy_set_t(bool phy_1m, bool phy_2m, bool phy_coded) :
|
||||||
bool phy_1m,
|
_value()
|
||||||
bool phy_2m,
|
{
|
||||||
bool phy_coded
|
|
||||||
) {
|
|
||||||
set_1m(phy_1m);
|
set_1m(phy_1m);
|
||||||
set_2m(phy_2m);
|
set_2m(phy_2m);
|
||||||
set_coded(phy_coded);
|
set_coded(phy_coded);
|
||||||
|
|
Loading…
Reference in New Issue