X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/6d1bf89081042535eb4c96ecaade3546dc64c0ce..d8e7e44560d6c002f7267eb8dba785d09bc1b47f:/src/adafruit_blinka/microcontroller/nxp_lpc4330/i2c.py?ds=inline diff --git a/src/adafruit_blinka/microcontroller/nxp_lpc4330/i2c.py b/src/adafruit_blinka/microcontroller/nxp_lpc4330/i2c.py index 1eadf68..30a8762 100644 --- a/src/adafruit_blinka/microcontroller/nxp_lpc4330/i2c.py +++ b/src/adafruit_blinka/microcontroller/nxp_lpc4330/i2c.py @@ -5,6 +5,7 @@ from greatfet import GreatFET class I2C: """Custom I2C Class for NXP LPC4330""" + # pylint: disable=unused-argument def __init__(self, *, frequency=100000): self._gf = GreatFET() @@ -12,7 +13,6 @@ class I2C: """Perform an I2C Device Scan""" return [index for index, dev in enumerate(self._gf.i2c.scan()) if dev[0]] - # pylint: disable=unused-argument def writeto(self, address, buffer, *, start=0, end=None, stop=True): """Write data from the buffer to an address""" if end is None: