mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 04:40:39 +00:00
bug fix
This commit is contained in:
parent
890a1269d0
commit
b16cc04036
@ -245,7 +245,8 @@ macro_rules! impl_waveform_chx {
|
||||
let original_cc_dma_on_update = self.inner.get_cc_dma_selection() == Ccds::ONUPDATE;
|
||||
let original_cc_dma_enabled = self.inner.get_cc_dma_enable_state(cc_channel);
|
||||
|
||||
if original_cc_dma_on_update {
|
||||
// redirect CC DMA request onto Update Event
|
||||
if !original_cc_dma_on_update {
|
||||
self.inner.set_cc_dma_selection(Ccds::ONUPDATE)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user