mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	Tiny typo
This commit is contained in:
		| @@ -512,7 +512,7 @@ def _parse_pi_revision(revision): | |||||||
|     # CCCC     - Manufacturer (0=Sony, 1=Egoman, 2=Embest) |     # CCCC     - Manufacturer (0=Sony, 1=Egoman, 2=Embest) | ||||||
|     # PPPP     - Processor (0=2835, 1=2836, 2=2837) |     # PPPP     - Processor (0=2835, 1=2836, 2=2837) | ||||||
|     # TTTTTTTT - Type (0=A, 1=B, 2=A+, 3=B+, 4=2B, 5=Alpha (??), 6=CM, 8=3B, 9=Zero) |     # TTTTTTTT - Type (0=A, 1=B, 2=A+, 3=B+, 4=2B, 5=Alpha (??), 6=CM, 8=3B, 9=Zero) | ||||||
|     # RRR      - Revision (0, 1, or 2) |     # RRRR     - Revision (0, 1, or 2) | ||||||
|     i = int(revision, base=16) |     i = int(revision, base=16) | ||||||
|     if not (i & 0x800000): |     if not (i & 0x800000): | ||||||
|         raise ValueError('cannot parse "%s"; this is not a new-style revision' % revision) |         raise ValueError('cannot parse "%s"; this is not a new-style revision' % revision) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user