onekey: Enable ADC for STM32F072 Discovery (#18592)

This commit is contained in:
Ryan
2022-10-05 11:36:20 +11:00
committed by GitHub
parent 64b1ed4550
commit 4d6fab1cfa
3 changed files with 6 additions and 0 deletions

View File

@@ -80,6 +80,7 @@
#define STM32_ADC_ADC1_DMA_PRIORITY 2
#define STM32_ADC_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 2
#define STM32_ADC_ADC1_DMA_STREAM STM32_DMA_STREAM_ID(1, 1)
/*
* GPT driver system settings.