File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
18
18
19
19
- Fix transmission termination in I2C master DMA read [ #736 ]
20
20
- Prevent starting a new I2C transmission before previous stop finishes [ #737 ]
21
+ - Fix complementary output polarity for PWM [ #754 ]
21
22
22
23
## [ v0.20.0] - 2024-01-14
23
24
Original file line number Diff line number Diff line change @@ -484,7 +484,7 @@ where
484
484
/// Set the polarity of the active state for the complementary PWM output of the advanced timer on channel `channel`
485
485
#[ inline]
486
486
pub fn set_complementary_polarity ( & mut self , channel : Channel , p : Polarity ) {
487
- TIM :: set_channel_polarity ( PINS :: check_complementary_used ( channel) as u8 , p) ;
487
+ TIM :: set_nchannel_polarity ( PINS :: check_complementary_used ( channel) as u8 , p) ;
488
488
}
489
489
}
490
490
You can’t perform that action at this time.
0 commit comments