arch/stm32: STM32_FOC_G4_ADCCHAN0_WORKAROUND depend on STM32G4

This commit is contained in:
raiden00pl 2023-05-15 08:54:19 +02:00 committed by Xiang Xiao
parent c95fd46be3
commit 3220a59a3e

View File

@ -12208,6 +12208,7 @@ config STM32_FOC_USE_ADC4
config STM32_FOC_G4_ADCCHAN0_WORKAROUND config STM32_FOC_G4_ADCCHAN0_WORKAROUND
bool "FOC G4 ADC channel 0 unwanted conversion workaround" bool "FOC G4 ADC channel 0 unwanted conversion workaround"
default n default n
depends on STM32_STM32G4XXX
---help--- ---help---
Some STM32G4 family chips have an issue that causes unwanted ADC channel 0 Some STM32G4 family chips have an issue that causes unwanted ADC channel 0
conversion when a regular conversion is interrupted by an injected conversion. conversion when a regular conversion is interrupted by an injected conversion.