Skip to content

Commit

Permalink
Merge pull request #53 from tekktrik/dev/fix-pylint-errors
Browse files Browse the repository at this point in the history
Fix pylint errors
  • Loading branch information
kattni authored Nov 8, 2022
2 parents cabfb47 + 77313f6 commit 54827b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adafruit_sdcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class SDCard:
"""

# pylint: disable=invalid-name
def __init__(self, spi: SPI, cs: DigitalInOut, baudrate: int = 1320000) -> None:
# Create an SPIDevice running at a lower initialization baudrate first.
self._spi = spi_device.SPIDevice(spi, cs, baudrate=250000, extra_clocks=8)
Expand Down

0 comments on commit 54827b8

Please sign in to comment.