소스 검색

Use CPU info to determine if this is a Raspberry Pi

mendhak 2 년 전
부모
커밋
005cff1cd5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py

+ 1 - 0
RaspberryPi_JetsonNano/python/lib/waveshare_epd/epdconfig.py

@@ -235,6 +235,7 @@ class SunriseX3:
 
 
 def is_raspberry_pi():
+    # https://raspberrypi.stackexchange.com/a/139704/540
     CPUINFO_PATH = Path("/proc/cpuinfo")
 
     if not CPUINFO_PATH.exists():