From: Ryan L Date: Sat, 2 Sep 2023 20:26:59 +0000 (+0100) Subject: fix typo, now as another entry for the A20 already exist it makes more logical sense... X-Git-Tag: 8.23.0~1^2~5 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/c8d514da8da8b76f6bbf032ac629ba695dbd2af6?hp=bd21a68453ae6282b51fab1d42233081fc4f965c fix typo, now as another entry for the A20 already exist it makes more logical sense to remove the duplicate and have the A20 checked for directly after the A10 --- diff --git a/src/digitalio.py b/src/digitalio.py index 2c0b5f3..657e7da 100644 --- a/src/digitalio.py +++ b/src/digitalio.py @@ -65,14 +65,12 @@ elif detector.chip.HFU540: from adafruit_blinka.microcontroller.hfu540.pin import Pin elif detector.chip.A10: from adafruit_blinka.microcontroller.allwinner.a20.pin import Pin -elif detector.chip.A30: +elif detector.chip.A20: from adafruit_blinka.microcontroller.allwinner.a20.pin import Pin elif detector.chip.A64: from adafruit_blinka.microcontroller.allwinner.a64.pin import Pin elif detector.chip.A33: from adafruit_blinka.microcontroller.allwinner.a33.pin import Pin -elif detector.chip.A20: - from adafruit_blinka.microcontroller.allwinner.a20.pin import Pin elif detector.chip.MIPS24KEC: from adafruit_blinka.microcontroller.mips24kec.pin import Pin elif detector.chip.RK3308: