Forráskód Böngészése

Use CPU info to determine if this is a Raspberry Pi

mendhak 2 éve
szülő
commit
005cff1cd5

+ 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():