Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

host: uart command: fix python KeyError when parity argument not specified #375

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

dmbain
Copy link
Contributor

@dmbain dmbain commented Jun 6, 2021

Changes the default value of the "parity" argument to a valid key value.
The default value of 0 causes Python to throw a KeyError when the uart parameters are set with device.uart.update_parameters(). Changing the default to 'none' resolves this and allows the uart command to be used without specifying the parity.

@Qyriad Qyriad merged commit 407ceb5 into greatscottgadgets:master Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants