瀏覽代碼

declaring variable _pins_for_cleanup now

digital 7 年之前
父節點
當前提交
6e4e2b3b32
共有 1 個文件被更改,包括 1 次插入1 次删除
  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):