mirror of
https://github.com/brain-hackers/brain-config.git
synced 2026-10-14 02:08:33 +09:00
Added detection of Pi 0 W boards
This commit is contained in:
1 parent
b867597b73
commit
2b08ce80eb
1 file changed
+1
-1
+1
-1
@@ -35,7 +35,7 @@ is_pitwo() {
|
||||
}
|
||||
|
||||
is_pizero() {
|
||||
grep -q "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]09[0-9a-fA-F]$" /proc/cpuinfo
|
||||
grep -q "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[9cC][0-9a-fA-F]$" /proc/cpuinfo
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user