From df7475d1551700280c3f4887d72ffa5d0a3cf11b Mon Sep 17 00:00:00 2001 From: Frank Petroski <78286538+frank-pet@users.noreply.github.com> Date: Sat, 16 Nov 2024 15:48:17 -0500 Subject: [PATCH] Update PWMOut.py --- src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py b/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py index 3a58d64..c149406 100644 --- a/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py +++ b/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py @@ -103,8 +103,8 @@ class PWMOut: # pylint: disable=invalid-name raise TypeError("Invalid duty cycle type, should be int or float.") if not 0 <= duty_cycle <= 65535: - raise ValueError("Invalid duty cycle value, should be between " - "0 and 65535") + raise ValueError( + "Invalid duty cycle value, should be between 0 and 65535") # convert from 16-bit duty_cycle /= 65535.0 -- 2.49.0