Skip to content

Commit

Permalink
Correct docstring for DistanceSensor's queue_len, close #858
Browse files Browse the repository at this point in the history
  • Loading branch information
bennuttall committed May 9, 2020
1 parent dda329b commit 497b716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpiozero/input_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ class DistanceSensor(SmoothedInputDevice):
:param int queue_len:
The length of the queue used to store values read from the sensor.
This defaults to 30.
This defaults to 9.
:param float max_distance:
The :attr:`value` attribute reports a normalized value between 0 (too
Expand Down

0 comments on commit 497b716

Please sign in to comment.