From f48a5887977b8ce5c69752004b2b8c8689ac7077 Mon Sep 17 00:00:00 2001 From: dmbain <46978006+dmbain@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:07:05 +0100 Subject: [PATCH] Update greatfet_uart.py --- host/greatfet/commands/greatfet_uart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/greatfet/commands/greatfet_uart.py b/host/greatfet/commands/greatfet_uart.py index c6290b2a..bb0e98ee 100644 --- a/host/greatfet/commands/greatfet_uart.py +++ b/host/greatfet/commands/greatfet_uart.py @@ -93,7 +93,7 @@ def main(): parser.add_argument('baud', nargs='?', type=from_eng_notation, default=115200, help="Baud rate; in symbols/second. Defaults to 115200.") parser.add_argument('-d', '--data', type=int, default=8, help="The number of data bits per frame.") parser.add_argument('-S', '--stop', type=int, default=1, help="The number of stop bits per frame.") - parser.add_argument('-P', '--parity', choices=parity_modes, default=0, help="The type of parity to use.") + parser.add_argument('-P', '--parity', choices=parity_modes, default='none', help="The type of parity to use.") parser.add_argument('-E', '--echo', action='store_true', help="If provided, local echo will be enabled.") parser.add_argument('-N', '--no-newline-translation', action='store_false', dest='tr_newlines', help="Provide this option to disable newline translation.")