git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2405 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
43902259c6
commit
297a1cefa8
|
@ -54,8 +54,8 @@ static PWMConfig pwmcfg = {
|
|||
{PWM_OUTPUT_DISABLED, NULL},
|
||||
{PWM_OUTPUT_DISABLED, NULL}
|
||||
},
|
||||
PWM_COMPUTE_PSC(STM32_TIMCLK2, 100000), /* 100000 nS clock cycle. */
|
||||
PWM_COMPUTE_ARR(100000, 1000000000), /* PWM period 1S. */
|
||||
PWM_COMPUTE_PSC(STM32_TIMCLK1, 10000), /* 10KHz PWM clock frequency. */
|
||||
PWM_COMPUTE_ARR(10000, 1000000), /* PWM period 1S. */
|
||||
0
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue