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 5ed3af2 commit 12b9310Copy full SHA for 12b9310
src/gpio.rs
@@ -509,6 +509,7 @@ macro_rules! gpio {
509
510
// set pin high/low before activating, to prevent
511
// spurious signals (e.g. LED flash)
512
+ // TODO: I still see a flash of LED using this order
513
match initial_state {
514
State::High => res.set_high(),
515
State::Low => res.set_low(),
src/pwm.rs
@@ -124,8 +124,6 @@ macro_rules! hal {
124
{
125
apb.enr().modify(|_, w| w.$timXen().set_bit());
126
apb.rstr().modify(|_, w| w.$timXrst().set_bit());
127
- // commented line is probably FUD
128
- // while apb.rstr().read().$timXrst().bit_is_clear() {}
129
apb.rstr().modify(|_, w| w.$timXrst().clear_bit());
130
131
if PINS::C1 {
0 commit comments