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

Rename Serial items #402

Merged
merged 1 commit into from
Feb 18, 2022
Merged

Rename Serial items #402

merged 1 commit into from
Feb 18, 2022

Conversation

AndreySmirnov81
Copy link
Contributor

Maybe do the following renaming?

wordlength_8 -> wordlength_8bits
wordlength_9 -> wordlength_9bits

(since there may be not only data bits but also parity)
WordLength::DataBits8 -> WordLength::Bits8
WordLength::DataBits9 -> WordLength::Bits9

And also add
Config::wordlength(mut self, wordlength: WordLength).

@AndreySmirnov81
Copy link
Contributor Author

@burrbull, what do you think?

@burrbull
Copy link
Member

Don't have strict opinion on naming. So if you think it is better I'm not opposite.

@burrbull
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 18, 2022

@bors bors bot merged commit 62ee387 into stm32-rs:master Feb 18, 2022
@AndreySmirnov81 AndreySmirnov81 deleted the temp branch February 22, 2022 07:18
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