From: Melissa LeBlanc-Williams Date: Thu, 8 Feb 2024 00:01:13 +0000 (-0800) Subject: Show NotImpplementedError for pwmio on the Pi 5 for now X-Git-Tag: 8.32.0^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/0109a48e843101b21b0f7eed6a6339df6938c81d?ds=inline Show NotImpplementedError for pwmio on the Pi 5 for now --- diff --git a/src/pwmio.py b/src/pwmio.py index 397120b..e98d2f8 100644 --- a/src/pwmio.py +++ b/src/pwmio.py @@ -16,7 +16,7 @@ from adafruit_blinka.agnostic import detector # pylint: disable=unused-import -if detector.board.any_raspberry_pi: +if detector.board.any_raspberry_pi and not detector.board.RASPBERRY_PI_5: from adafruit_blinka.microcontroller.bcm283x.pwmio.PWMOut import PWMOut elif detector.board.any_coral_board: from adafruit_blinka.microcontroller.generic_linux.sysfs_pwmout import PWMOut