From b694ec838ab460edd2a7b5b4048503f523c1caf2 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Thu, 14 Apr 2016 02:02:40 +0100 Subject: [PATCH] Tiny typo --- gpiozero/pins/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpiozero/pins/data.py b/gpiozero/pins/data.py index b824d7f..df0a8ef 100644 --- a/gpiozero/pins/data.py +++ b/gpiozero/pins/data.py @@ -512,7 +512,7 @@ def _parse_pi_revision(revision): # CCCC - Manufacturer (0=Sony, 1=Egoman, 2=Embest) # 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) - # RRR - Revision (0, 1, or 2) + # RRRR - Revision (0, 1, or 2) i = int(revision, base=16) if not (i & 0x800000): raise ValueError('cannot parse "%s"; this is not a new-style revision' % revision)