Permalink
Browse files

modified the condition if a software reset at 1200 Baud is used slightly

  • Loading branch information...
Bouni committed Apr 8, 2014
1 parent fe6e94a commit cbe0d06256e104c5dfd0ec131bba75a58285807d
Showing with 1 addition and 1 deletion.
  1. +1 −1 ino/commands/upload.py
View
@@ -83,7 +83,7 @@ def run(self, args):
# this wait a moment for the bootloader to enumerate. On Windows, also must
# deal with the fact that the COM port number changes from bootloader to
# sketch.
if board['bootloader']['path'] == "caterina":
if board['bootloader']['path'].startswith("caterina"):
caterina_port = None
before = self.e.list_serial_ports()
if port in before:

0 comments on commit cbe0d06

Please sign in to comment.