Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions drivers/adc/adc_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,9 @@ static int start_read(const struct device *dev,
*/
adc_stm32_enable(adc);

#if !defined(CONFIG_SOC_SERIES_STM32F1X)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, there's still two OVR instances in dma_callback which needs to be handled. This build isn't failing because there's no test build with the STM32F1+ADC+DMA. It's done correctly in my PR, but I can also close it in favour if this one if this comment is addressed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the PR #56017

LL_ADC_ClearFlag_OVR(adc);
#endif /* ! CONFIG_SOC_SERIES_STM32F1X */

#if !defined(CONFIG_ADC_STM32_DMA)
#if defined(CONFIG_SOC_SERIES_STM32F0X) || \
Expand Down