mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-10-31 12:38:38 +09:00 
			
		
		
		
	Added detection of Pi 0 W boards
This commit is contained in:
		| @@ -35,7 +35,7 @@ is_pitwo() { | |||||||
| } | } | ||||||
|  |  | ||||||
| is_pizero() { | 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 $? |    return $? | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 spl
					spl