File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ extern crate panic_halt;
99extern crate stm32c0xx_hal as hal;
1010
1111use hal:: prelude:: * ;
12+ use hal:: rcc:: Config ;
1213use hal:: stm32;
1314use rt:: entry;
14- use hal:: rcc:: Config ;
1515
1616#[ allow( clippy:: empty_loop) ]
1717#[ entry]
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl Config {
121121
122122 crc. init . write ( |w| unsafe { w. crc_init ( ) . bits ( init) } ) ;
123123 crc. pol . write ( |w| unsafe { w. bits ( poly) } ) ;
124- crc. cr . write ( |w| unsafe {
124+ crc. cr . write ( |w| unsafe {
125125 w. rev_in ( )
126126 . bits ( in_rev_bits)
127127 . polysize ( )
Original file line number Diff line number Diff line change 1- pub use hal:: adc:: OneShot as _;
2- pub use hal:: digital:: v2:: * ;
3- pub use hal:: prelude:: * ;
4- pub use hal:: watchdog:: Watchdog as _;
5- pub use hal:: watchdog:: WatchdogEnable as _;
61pub use crate :: analog:: adc:: AdcExt as _;
72pub use crate :: crc:: CrcExt as _;
83pub use crate :: exti:: ExtiExt as _;
@@ -26,3 +21,8 @@ pub use crate::timer::TimerExt as _;
2621pub use crate :: watchdog:: IWDGExt as _;
2722pub use crate :: watchdog:: WWDGExt as _;
2823pub use fugit:: { ExtU32 as _, RateExtU32 as _} ;
24+ pub use hal:: adc:: OneShot as _;
25+ pub use hal:: digital:: v2:: * ;
26+ pub use hal:: prelude:: * ;
27+ pub use hal:: watchdog:: Watchdog as _;
28+ pub use hal:: watchdog:: WatchdogEnable as _;
You can’t perform that action at this time.
0 commit comments