mirror of https://github.com/ARMmbed/mbed-os.git
removed impossible case
parent
02d9b35bad
commit
a3820c89c5
|
|
@ -193,12 +193,8 @@ private:
|
|||
} else if (_enabledPhy[ble::phy_t::LE_2M]) {
|
||||
return 1;
|
||||
} else if (_enabledPhy[ble::phy_t::LE_CODED]) {
|
||||
if (isSwapped()) {
|
||||
return 1;
|
||||
} else {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
/* 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 */
|
||||
MBED_ASSERT("Trying to use connection parameters without any PHY defined.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue