mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Change default mock revision to Pi3B
This commit is contained in:
@@ -411,7 +411,7 @@ class MockSPIDevice(object):
|
|||||||
|
|
||||||
class MockFactory(LocalPiFactory):
|
class MockFactory(LocalPiFactory):
|
||||||
def __init__(
|
def __init__(
|
||||||
self, revision=os.getenv('GPIOZERO_MOCK_REVISION', 'a21041'),
|
self, revision=os.getenv('GPIOZERO_MOCK_REVISION', 'a02082'),
|
||||||
pin_class=os.getenv('GPIOZERO_MOCK_PIN_CLASS', MockPin)):
|
pin_class=os.getenv('GPIOZERO_MOCK_PIN_CLASS', MockPin)):
|
||||||
super(MockFactory, self).__init__()
|
super(MockFactory, self).__init__()
|
||||||
self._revision = revision
|
self._revision = revision
|
||||||
|
|||||||
Reference in New Issue
Block a user