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/audiopwmio | |
| parent | d358c915c3d27469fc17bdc302dad393d7e28a09 (diff) | |
Made every init return None
Diffstat (limited to 'shared-bindings/audiopwmio')
| -rw-r--r-- | shared-bindings/audiopwmio/PWMAudioOut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/audiopwmio/PWMAudioOut.c b/shared-bindings/audiopwmio/PWMAudioOut.c index b16538f17..1d740823a 100644 --- a/shared-bindings/audiopwmio/PWMAudioOut.c +++ b/shared-bindings/audiopwmio/PWMAudioOut.c @@ -39,7 +39,7 @@ //| class PWMAudioOut: //| """Output an analog audio signal by varying the PWM duty cycle.""" //| -//| def __init__(self, left_channel: microcontroller.Pin, *, right_channel: microcontroller.Pin = None, quiescent_value: int = 0x8000): +//| def __init__(self, left_channel: microcontroller.Pin, *, right_channel: microcontroller.Pin = None, quiescent_value: int = 0x8000) -> None: //| """Create a PWMAudioOut object associated with the given pin(s). This allows you to //| play audio signals out on the given pin(s). In contrast to mod:`audioio`, //| the pin(s) specified are digital pins, and are driven with a device-dependent PWM |
