mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Small typo fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@264 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
075dcf5aee
commit
098cff2145
@ -64,7 +64,7 @@ void PIOS_Servo_Init(void)
|
||||
|
||||
/* Initialise Timers TIM4 and TIM8 */
|
||||
/* With a resolution of 1uS, period of 20mS (50Hz) */
|
||||
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
|
||||
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
|
||||
TIM_TimeBaseStructInit(&TIM_TimeBaseStructure);
|
||||
TIM_TimeBaseStructure.TIM_Prescaler = (PIOS_MASTER_CLOCK / 1000000) - 1;
|
||||
TIM_TimeBaseStructure.TIM_ClockDivision = TIM_CKD_DIV1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user