소스 검색

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)