bug fix
This commit is contained in:
parent
890a1269d0
commit
b16cc04036
1 changed files with 2 additions and 1 deletions
|
@ -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_on_update = self.inner.get_cc_dma_selection() == Ccds::ONUPDATE;
|
||||||
let original_cc_dma_enabled = self.inner.get_cc_dma_enable_state(cc_channel);
|
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)
|
self.inner.set_cc_dma_selection(Ccds::ONUPDATE)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue