From 5690811c80a734fba26476512d82f3f69b13e816 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Fri, 11 Mar 2022 03:01:28 +0100 Subject: [PATCH] Clarify docstring and add missing newline. --- src/adafruit_blinka/microcontroller/mcp2221/mcp2221.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- 2.49.0