arch/arm/src/stm32/stm32_foc.c: define missing FOC1_PWM_FZ_BIT for G4
This commit is contained in:
parent
8e9e54cad3
commit
bb5e3fee44
@ -169,7 +169,8 @@
|
||||
# define FOC1_PWM (8)
|
||||
# define FOC1_PWM_NCHANNELS (PWM_TIM8_NCHANNELS)
|
||||
# define FOC1_PWM_BASE (STM32_TIM8_BASE)
|
||||
# if defined(CONFIG_STM32_HAVE_IP_DBGMCU_V2)
|
||||
# if defined(CONFIG_STM32_HAVE_IP_DBGMCU_V2) || \
|
||||
defined(CONFIG_STM32_HAVE_IP_DBGMCU_V3)
|
||||
# define FOC1_PWM_FZ_BIT (DBGMCU_APB2_TIM8STOP)
|
||||
# elif defined(CONFIG_STM32_HAVE_IP_DBGMCU_V1)
|
||||
# define FOC1_PWM_FZ_BIT (DBGMCU_CR_TIM8STOP)
|
||||
|
Loading…
Reference in New Issue
Block a user