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 0ec3b32 commit 865c222Copy full SHA for 865c222
README.rst
@@ -67,7 +67,6 @@ Usage Example
67
from adafruit_bno08x import BNO_REPORT_ACCELEROMETER
68
69
REPORT_INTERVAL = const(100000) # 100 Hz
70
-
71
i2c = busio.I2C(board.SCL, board.SDA)
72
bno = BNO08X_I2C(i2c)
73
bno.enable_feature(BNO_REPORT_ACCELEROMETER, REPORT_INTERVAL)
adafruit_bno08x/__init__.py
@@ -948,7 +948,7 @@ def _get_feature_enable_report(
948
# TODO2: I think this should call an fn that imports all the bits for the given feature
949
# so we're not carrying around stuff for extra features
950
def enable_feature(
951
- self,
+ self,
952
feature_id: int,
953
report_interval: int = _DEFAULT_REPORT_INTERVAL,
954
) -> None:
0 commit comments