Skip to content

Commit a074cb9

Browse files
committed
Minor fix in simple-program.py
1 parent a67b154 commit a074cb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simple-program.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ def sighandler(signum, frame):
4242
lcd_comm = None
4343
if REVISION == "A":
4444
logger.info("Selected Hardware Revision A (Turing Smart Screen)")
45-
lcd_comm = LcdCommRevA(com_port="AUTO",
45+
lcd_comm = LcdCommRevA(com_port=COM_PORT,
4646
display_width=320,
4747
display_height=480)
4848
elif REVISION == "B":
4949
print("Selected Hardware Revision B (XuanFang screen version B / flagship)")
50-
lcd_comm = LcdCommRevB(com_port="AUTO",
50+
lcd_comm = LcdCommRevB(com_port=COM_PORT,
5151
display_width=320,
5252
display_height=480)
5353
elif REVISION == "SIMU":

0 commit comments

Comments
 (0)