Fix pigpiod SPI conflicts

Wrong classname in the software implementation and for some reason I'd
reverted a change on spi_flags somewhere... Also removed the clause
skipping remote pigpiod tests

Tested this commit with hardware and software SPI remotely - working
nicely
This commit is contained in:
Dave Jones
2016-11-01 10:03:04 +00:00
parent 4944849a30
commit 5487124f74
3 changed files with 5 additions and 7 deletions

View File

@@ -27,6 +27,8 @@ class SPIDevice(Device):
specified with the constructor.
"""
def __init__(self, **spi_args):
self._spi = None
super(SPIDevice, self).__init__()
self._spi = self._pin_factory.spi(**spi_args)
def close(self):