mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-26 20:00:27 +00:00
fix(embassy-stm32): Remove duplicate fn call, vestigial from earlier refcount implementation
Refs: #4577
This commit is contained in:
parent
46bf0c71cc
commit
59af53d53e
@ -13,9 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- fix: stm32/i2c in master mode (blocking): subsequent transmissions failed after a NACK was received
|
||||
- feat: stm32/timer: add set_polarity functions for main and complementary outputs in complementary_pwm
|
||||
- Add I2S support for STM32F1, STM32C0, STM32F0, STM32F3, STM32F7, STM32G0, STM32WL, STM32H5, STM32H7RS
|
||||
### Fixed
|
||||
|
||||
- STM32: Prevent dropped DacChannel from disabling Dac peripheral if another DacChannel is still in scope ([#4577](https://github.com/embassy-rs/embassy/pull/4577))
|
||||
- fix: STM32: Prevent dropped DacChannel from disabling Dac peripheral if another DacChannel is still in scope ([#4577](https://github.com/embassy-rs/embassy/pull/4577))
|
||||
- feat: Added support for more OctoSPI configurations (e.g. APS6408 RAM) ([#4581](https://github.com/embassy-rs/embassy/pull/4581))
|
||||
|
||||
## 0.4.0 - 2025-08-26
|
||||
|
@ -575,8 +575,6 @@ impl<'d, T: Instance, M: PeriMode> Dac<'d, T, M> {
|
||||
dma_ch2: Option<ChannelAndRequest<'d>>,
|
||||
#[cfg(any(dac_v3, dac_v4, dac_v5, dac_v6, dac_v7))] mode: Mode,
|
||||
) -> Self {
|
||||
// Enable twice to increment the DAC refcount for each channel.
|
||||
rcc::enable_and_reset::<T>();
|
||||
rcc::enable_and_reset::<T>();
|
||||
|
||||
let mut ch1 = DacCh1 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user