File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
34
34
35
35
### Added
36
36
37
- - Serial Tx, Rx containing pins [ #514 ] [ #515 ]
37
+ - Serial Tx, Rx containing pins [ #514 ] [ #515 ] [ # 540 ]
38
38
- Implementation of From trait for Pin-to-PartiallyErasedPin [ #507 ]
39
39
- Implementation of From trait for Pin-to-ErasedPin [ #507 ]
40
40
- Implementation of From trait for PartiallyErasedPin-to-ErasedPin [ #507 ]
@@ -58,6 +58,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
58
58
[ #529 ] : https://github.com/stm32-rs/stm32f4xx-hal/pull/529
59
59
[ #536 ] : https://github.com/stm32-rs/stm32f4xx-hal/pull/536
60
60
[ #534 ] : https://github.com/stm32-rs/stm32f4xx-hal/pull/529
61
+ [ #540 ] : https://github.com/stm32-rs/stm32f4xx-hal/pull/540
61
62
62
63
## [ v0.13.2] - 2022-05-16
63
64
Original file line number Diff line number Diff line change @@ -51,6 +51,17 @@ mod nb {
51
51
}
52
52
}
53
53
54
+ impl < USART : Instance > Write < u8 > for Tx < USART , u8 > {
55
+ type Error = Error ;
56
+
57
+ fn write ( & mut self , word : u8 ) -> nb:: Result < ( ) , Self :: Error > {
58
+ self . write ( word)
59
+ }
60
+ fn flush ( & mut self ) -> nb:: Result < ( ) , Self :: Error > {
61
+ self . flush ( )
62
+ }
63
+ }
64
+
54
65
/// Writes 9-bit words to the UART/USART
55
66
///
56
67
/// If the UART/USART was configured with `WordLength::DataBits9`, the 9 least significant bits will
You can’t perform that action at this time.
0 commit comments