From: Ezio Melotti Date: Fri, 11 Mar 2022 02:01:28 +0000 (+0100) Subject: Clarify docstring and add missing newline. X-Git-Tag: 7.1.2~1^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/5690811c80a734fba26476512d82f3f69b13e816 Clarify docstring and add missing newline. --- diff --git a/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py b/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py index b6ca933..665be7f 100644 --- a/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py +++ b/src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py @@ -3,6 +3,7 @@ import os import time import atexit + import hid # Here if you need it @@ -62,7 +63,7 @@ class MCP2221: self.gpio_set_direction(pin, 1) # set to INPUT def close(self): - """Close the device. Does nothing if the device is not open.""" + """Close the hid device. Does nothing if the device is not open.""" self._hid.close() def __del__(self):