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 7b3d1b4 commit fac5822Copy full SHA for fac5822
lib/pbio/platform/city_hub/platform.c
@@ -144,7 +144,7 @@ void DMA1_Channel4_5_IRQHandler(void) {
144
// if CH4 transfer complete
145
if (DMA1->ISR & DMA_ISR_TCIF4) {
146
// clear interrupt
147
- DMA1->IFCR |= DMA_IFCR_CTCIF4;
+ DMA1->IFCR = DMA_IFCR_CTCIF4;
148
// disable CH4
149
DMA1_Channel4->CCR &= ~DMA_CCR_EN;
150
0 commit comments