Skip to content

Commit b8cda60

Browse files
authored
Merge pull request #1 from adafruit/dev/force-fail
Dev/force-fail
2 parents c1588e5 + a166fbc commit b8cda60

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/failure-help-text.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event == 'pull_request' }}
1717
steps:
1818
- name: Post comment to help
19-
uses: adafruit/circuitpython-action-library-ci-failed@v1
19+
uses: tekktrik/circuitpython-action-library-ci-failed@main

adafruit_ble_beacon.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import struct
2626
from micropython import const
2727
import _bleio
28+
import time
2829
from adafruit_ble.advertising import Advertisement, AdvertisingDataField
2930

3031
try:
@@ -66,6 +67,11 @@ def __set__(self, obj: "Advertisement", value: Sequence) -> None:
6667
class _BeaconAdvertisement(Advertisement):
6768
"""Advertisement for location beacons like iBeacon"""
6869

70+
71+
72+
73+
74+
6975
path_loss_const: float = 3
7076
"""The path loss constant, typically between 2-4"""
7177

@@ -89,7 +95,7 @@ def beacon_tx_power(self) -> int:
8995
raise NotImplementedError("Must be implemented in beacon subclass")
9096

9197
@beacon_tx_power.setter
92-
def beacon_tx_power(self, power: int) -> None:
98+
def beacon_tx_power(self, power: int, thing: int) -> None:
9399
raise NotImplementedError("Must be implemented in beacon subclass")
94100

95101

0 commit comments

Comments
 (0)