From d0870c45b91174d474a1f290b9e4b86f6737fbfe Mon Sep 17 00:00:00 2001 From: Kapujino Date: Wed, 18 Aug 2021 16:27:09 +0200 Subject: [PATCH] remove GPIO.cleanup from module_exit() function --- RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py index 6095138..00d74c0 100644 --- a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py +++ b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py @@ -86,9 +86,6 @@ class RaspberryPi: self.GPIO.output(self.RST_PIN, 0) self.GPIO.output(self.DC_PIN, 0) - self.GPIO.cleanup() - - class JetsonNano: # Pin definition RST_PIN = 17