Skip to content

Commit

Permalink
Correct SA error
Browse files Browse the repository at this point in the history
  • Loading branch information
wenchungw committed Sep 7, 2024
1 parent a40adfc commit a724849
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/dpu_tty.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ def main():
parser.add_argument('-s', '--slot', type=int, required=True)
parser.add_argument('-t', '--tty')
parser.add_argument('-b', '--baud', type=int)
try:
args = parser.parse_args()
except:
# parser.parse_args() printed error message
return 0
args = parser.parse_args()

dpu_tty, dpu_baud = get_dpu_tty(args.slot, args.tty, args.baud)
# Use UART console utility for error checking of dpu_tty and dpu_baud.
Expand Down

0 comments on commit a724849

Please sign in to comment.