lint
This commit is contained in:
parent
5b4ba29cc2
commit
dbf2a4301e
2 changed files with 3 additions and 2 deletions
|
|
@ -5,4 +5,4 @@
|
||||||
import usb_cdc
|
import usb_cdc
|
||||||
|
|
||||||
# Enable USB CDC (serial) communication
|
# Enable USB CDC (serial) communication
|
||||||
usb_cdc.enable(console=True, data=True)
|
usb_cdc.enable(console=True, data=True)
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,8 @@ class TypewriterSender:
|
||||||
keyboard.Key.cmd_r: 0x80,
|
keyboard.Key.cmd_r: 0x80,
|
||||||
}
|
}
|
||||||
|
|
||||||
def find_feather_port(self):
|
@staticmethod
|
||||||
|
def find_feather_port():
|
||||||
"""Find the Feather's serial port"""
|
"""Find the Feather's serial port"""
|
||||||
ports = serial.tools.list_ports.comports()
|
ports = serial.tools.list_ports.comports()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue