Browse Source

declaring variable _pins_for_cleanup now

digital 7 years ago
parent
commit
6e4e2b3b32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/digilib/gpio/wrapper.py

+ 1 - 1
src/digilib/gpio/wrapper.py

@@ -30,7 +30,7 @@ except ImportError:
     IN = "in"
     BCM = "bcm"
 
-pin_values = {}
+_pins_for_cleanup = set()
 
 
 def cleanup(self,*args):