Added detection of Pi 0 W boards

This commit is contained in:
spl 2017-02-28 09:51:59 +00:00
parent b867597b73
commit 2b08ce80eb
1 changed files with 1 additions and 1 deletions

View File

@ -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 $?
}