mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Merge pull request #311 from lurch/patch-4
Typo in SPISoftwareBus._shared_key
This commit is contained in:
@@ -163,7 +163,7 @@ class SPISoftwareBus(SharedMixin, Device):
|
|||||||
return self.lock is None
|
return self.lock is None
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _shared_key(self, clock_pin, mosi_pin, miso_pin):
|
def _shared_key(cls, clock_pin, mosi_pin, miso_pin):
|
||||||
return (clock_pin, mosi_pin, miso_pin)
|
return (clock_pin, mosi_pin, miso_pin)
|
||||||
|
|
||||||
def read(self, n):
|
def read(self, n):
|
||||||
|
|||||||
Reference in New Issue
Block a user