Skip to content

Commit

Permalink
itemir#8: Fix for Pi Zero2 W
Browse files Browse the repository at this point in the history
  • Loading branch information
free-x committed Dec 21, 2022
1 parent c7a5208 commit b1754f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uart_control/uart_control
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ is_pifour() {
}

is_pithree() {
grep -q "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[8d][0-9a-fA-F]$" /proc/cpuinfo
grep -q "^Revision\s*:\s*[ 123][0-9a-fA-F][0-9a-fA-F]2[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]$" /proc/cpuinfo
return $?
}

Expand Down

0 comments on commit b1754f7

Please sign in to comment.