We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a53980 commit 7d885b6Copy full SHA for 7d885b6
src/serial/usart.rs
@@ -606,10 +606,10 @@ macro_rules! uart_lp {
606
.set_bit()
607
.re()
608
609
- .m0()
610
- .bit(config.wordlength == WordLength::DataBits9)
611
.m1()
612
.bit(config.wordlength == WordLength::DataBits7)
+ .m0()
+ .bit(config.wordlength == WordLength::DataBits9)
613
.pce()
614
.bit(config.parity != Parity::ParityNone)
615
.ps()
@@ -761,9 +761,9 @@ macro_rules! uart_full {
761
762
763
764
765
- .bit(config.wordlength == WordLength::DataBits7)
766
+ .bit(config.wordlength == WordLength::DataBits7)
767
.bit(config.wordlength == WordLength::DataBits9)
768
769
0 commit comments