mirror of https://github.com/ARMmbed/mbed-os.git
removed impossible case
parent
02d9b35bad
commit
a3820c89c5
|
|
@ -193,11 +193,7 @@ private:
|
||||||
} else if (_enabledPhy[ble::phy_t::LE_2M]) {
|
} else if (_enabledPhy[ble::phy_t::LE_2M]) {
|
||||||
return 1;
|
return 1;
|
||||||
} else if (_enabledPhy[ble::phy_t::LE_CODED]) {
|
} else if (_enabledPhy[ble::phy_t::LE_CODED]) {
|
||||||
if (isSwapped()) {
|
return 2;
|
||||||
return 1;
|
|
||||||
} else {
|
|
||||||
return 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
/* this should never happen, it means you were trying to start a connection with a blank set
|
/* this should never happen, it means you were trying to start a connection with a blank set
|
||||||
* of paramters - you need to enabled at least one phy */
|
* of paramters - you need to enabled at least one phy */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue