We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a2adfd commit fb8ca9bCopy full SHA for fb8ca9b
adafruit_ble/__init__.py
@@ -156,8 +156,8 @@ class BLERadio:
156
It uses this library's `Advertisement` classes and the `BLEConnection` class."""
157
158
def __init__(self, adapter=None):
159
- """If no adapter is supplied, use the built-in _bleio.adapter, if available.
160
- If not, see if there's an onboard HCI adapter available that could be used.
+ """If no adapter is supplied, use the built-in `_bleio.adapter`.
+ If no built-in adapter is available, raise `RuntimeError`.
161
"""
162
if adapter is None and _bleio.adapter is None:
163
raise RuntimeError("No adapter available")
0 commit comments