瀏覽代碼

added debug message to debug cleanup problem

digital 7 年之前
父節點
當前提交
afceec7d35
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pin/__init__.py

+ 1 - 0
pin/__init__.py

@@ -55,6 +55,7 @@ class GPIOWrapper(object):
 
     def cleanup(self,*args):
         lgpio.debug("cleanup! ({})".format(args))
+        lgpio.debug("_pins_for_cleanup is:"+str(_pins_for_cleanup))
         if self.gpio:
             self.gpio.cleanup(_pins_for_cleanup)