mirror of https://github.com/rusefi/wideband.git
Correct dac timer (#38)
* io mapping typo * DAC uses proper timer now Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
0ac2e043e1
commit
cbb0665e54
|
@ -14,5 +14,5 @@
|
||||||
#define HEATER_PWM_CHANNEL 0
|
#define HEATER_PWM_CHANNEL 0
|
||||||
|
|
||||||
// PA1 TIM2_CH2
|
// PA1 TIM2_CH2
|
||||||
#define PUMP_DAC_PWM_DEVICE PWMD3
|
#define PUMP_DAC_PWM_DEVICE PWMD2
|
||||||
#define PUMP_DAC_PWM_CHANNEL 0
|
#define PUMP_DAC_PWM_CHANNEL 1
|
||||||
|
|
|
@ -133,8 +133,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_PWM_USE_ADVANCED FALSE
|
#define STM32_PWM_USE_ADVANCED FALSE
|
||||||
#define STM32_PWM_USE_TIM1 TRUE
|
#define STM32_PWM_USE_TIM1 TRUE
|
||||||
#define STM32_PWM_USE_TIM2 FALSE
|
#define STM32_PWM_USE_TIM2 TRUE
|
||||||
#define STM32_PWM_USE_TIM3 TRUE
|
#define STM32_PWM_USE_TIM3 FALSE
|
||||||
#define STM32_PWM_USE_TIM4 FALSE
|
#define STM32_PWM_USE_TIM4 FALSE
|
||||||
#define STM32_PWM_USE_TIM5 FALSE
|
#define STM32_PWM_USE_TIM5 FALSE
|
||||||
#define STM32_PWM_USE_TIM8 FALSE
|
#define STM32_PWM_USE_TIM8 FALSE
|
||||||
|
@ -182,7 +182,7 @@
|
||||||
* ST driver system settings.
|
* ST driver system settings.
|
||||||
*/
|
*/
|
||||||
#define STM32_ST_IRQ_PRIORITY 8
|
#define STM32_ST_IRQ_PRIORITY 8
|
||||||
#define STM32_ST_USE_TIMER 2
|
#define STM32_ST_USE_TIMER 3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* UART driver system settings.
|
* UART driver system settings.
|
||||||
|
|
Loading…
Reference in New Issue