]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/generic_agnostic_board/spi.py
added support for I2C bus 0,1,2 that where missing for the OPI zero2W implementation
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / generic_agnostic_board / spi.py
index 3012573f574dbeeec2afe6970f79e1fb1bd15974..a7ca14066f201b4d32fe2e47ba60328d48ec5823 100644 (file)
@@ -37,15 +37,17 @@ class SPI:
         """Return the current frequency"""
         return self._frequency
 
+    # pylint: disable=unnecessary-pass
     def write(self, buf, start=0, end=None):
         """Write data from the buffer to SPI"""
         pass
 
+    # pylint: disable=unnecessary-pass
     def readinto(self, buf, start=0, end=None, write_value=0):
         """Read data from SPI and into the buffer"""
         pass
 
-    # pylint: disable=too-many-arguments
+    # pylint: disable=too-many-arguments, unnecessary-pass
     def write_readinto(
         self, buffer_out, buffer_in, out_start=0, out_end=None, in_start=0, in_end=None
     ):