boards/arm/stm32/nucleo-f302r8/src/stm32_highpri.c: fix nxstyle issues

This commit is contained in:
raiden00pl 2020-04-25 21:04:07 +02:00 committed by patacongo
parent f837bfecdb
commit 6b7b18e835

View File

@ -245,7 +245,7 @@ void adc12_handler(void)
g_highpri.r_volt[g_highpri.current] =
(float)g_highpri.r_val[g_highpri.current] * ref / bit;
if (g_highpri.current >= REG_NCHANNELS-1)
if (g_highpri.current >= REG_NCHANNELS - 1)
{
g_highpri.current = 0;
}
@ -282,6 +282,7 @@ void adc12_handler(void)
#endif
irq_out:
/* Clear ADC pending interrupts */
STM32_ADC_INT_ACK(adc, pending);
@ -323,6 +324,7 @@ void dma1ch1_handler(void)
}
irq_out:
/* Clear DMA pending interrupts */
stm32_dma_intack(STM32_DMA1_CHAN1, pending);