Skip to content

Commit 8ef6542

Browse files
committed
pybricksdev.connections.pybricks: don't warn on empty USB messages
This is something that happens normally, so don't log it as a warning.
1 parent 89bc65e commit 8ef6542

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pybricksdev/connections/pybricks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,6 @@ async def _monitor_usb(self):
894894
continue
895895

896896
if len(msg) == 0:
897-
logger.warning("Empty USB message")
898897
continue
899898

900899
if msg[0] == PybricksUsbInEpMessageType.RESPONSE:

0 commit comments

Comments
 (0)