diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 14:23:34 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 14:23:34 -0400 |
| commit | d0d949cd24dbff5fb382f8c7abf3bae7ba46541a (patch) | |
| tree | a3e4f4faae1858acef2f9095a7bf9650fd8c000c /shared-bindings/rotaryio/IncrementalEncoder.c | |
| parent | d358c915c3d27469fc17bdc302dad393d7e28a09 (diff) | |
Made every init return None
Diffstat (limited to 'shared-bindings/rotaryio/IncrementalEncoder.c')
| -rw-r--r-- | shared-bindings/rotaryio/IncrementalEncoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/rotaryio/IncrementalEncoder.c b/shared-bindings/rotaryio/IncrementalEncoder.c index 201336266..37c4ee324 100644 --- a/shared-bindings/rotaryio/IncrementalEncoder.c +++ b/shared-bindings/rotaryio/IncrementalEncoder.c @@ -37,7 +37,7 @@ //| class IncrementalEncoder: //| """IncrementalEncoder determines the relative rotational position based on two series of pulses.""" //| -//| def __init__(self, pin_a: microcontroller.Pin, pin_b: microcontroller.Pin): +//| def __init__(self, pin_a: microcontroller.Pin, pin_b: microcontroller.Pin) -> None: //| """Create an IncrementalEncoder object associated with the given pins. It tracks the positional //| state of an incremental rotary encoder (also known as a quadrature encoder.) Position is //| relative to the position when the object is contructed. |
