Skip to content

Commit

Permalink
Merge pull request #166 from tekktrik/doc/specify-targets
Browse files Browse the repository at this point in the history
Fix Build CI issue
  • Loading branch information
tekktrik authored May 31, 2022
2 parents ab7e97c + c8528e1 commit 922a5ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion adafruit_ble/advertising/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ class Advertisement:
"""

match_prefixes = ()
"""For Advertisement, `matches` will always return True. Subclasses may override this value."""
"""For Advertisement, `Advertisement.matches` will always return ``True``.
Subclasses may override this value."""
# cached bytes of merged prefixes.
_prefix_bytes = None

Expand Down
2 changes: 1 addition & 1 deletion adafruit_ble/advertising/standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class ManufacturerData(AdvertisingDataField):
company_id and the data is structured like an advertisement with a configurable key
format. The order of the serialized data is determined by the order that the
`ManufacturerDataField` attributes are set in - this can be useful for
`match_prefixes` in an `Advertisement` sub-class."""
`Advertisement.match_prefixes` in an `Advertisement` sub-class."""

def __init__(
self, obj, *, advertising_data_type=0xFF, company_id, key_encoding="B"
Expand Down

0 comments on commit 922a5ab

Please sign in to comment.