Skip to content

Commit

Permalink
Merge pull request #127 from FoamyGuy/fix_accel_doc_unit
Browse files Browse the repository at this point in the history
Update units in acceleration docstring
  • Loading branch information
FoamyGuy authored Nov 13, 2024
2 parents 597f4d3 + 27abca2 commit 00b16c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_bno055.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def _temperature(self) -> None:

@property
def acceleration(self) -> Tuple[Optional[float], Optional[float], Optional[float]]:
"""Gives the raw accelerometer readings, in m/s.
"""Gives the raw accelerometer readings, in m/s^2.
Returns an empty tuple of length 3 when this property has been disabled by the current mode.
"""
if self.mode not in [0x00, 0x02, 0x03, 0x06]:
Expand Down

0 comments on commit 00b16c6

Please sign in to comment.