Skip to content

Commit 8e6643b

Browse files
committed
ref #1 : corrected the README
1 parent f66e367 commit 8e6643b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

auto_detect_rpi.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181

8282
def getRPIHardwareRevCode():
8383
"""
84-
Returns slightly more descriptive information on the hardware revision of the Raspberry Pi.
85-
If it can't find anything, it returns "NOT_FOUND"
86-
If there's an error while reading the file, it returns a None
87-
Examples of strings returned : "Model B Rev 2", "Model A+", "Pi 3 Model B", etc
84+
Returns the hardware revision of the Raspberry Pi.
85+
If it can't find anything, it returns "NOT_FOUND".
86+
If there's an error while reading the file, it returns a None.
87+
Examples of strings returned : "Model B Rev 2", "Model A+", "Pi 3 Model B", etc.
8888
Look into the dictionary to see all the possible variants.
8989
"""
9090
cpuinfo_lines = readLinesFromFile("/proc/cpuinfo")
@@ -105,8 +105,8 @@ def getRPIHardwareRevCode():
105105
def getRPIGenerationCode():
106106
"""
107107
Returns the Raspberry Pi's generation model.
108-
If it can't find anything, it returns "NOT_FOUND"
109-
If there's an error while reading the file, it returns a None
108+
If it can't find anything, it returns "NOT_FOUND".
109+
If there's an error while reading the file, it returns a None.
110110
Depending on the Raspberry Pi's model, the function can return the following strings:
111111
"RPI0"
112112
"RPI1"

0 commit comments

Comments
 (0)