1
0
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:
gussy 2010-03-07 12:25:29 +00:00 committed by gussy
parent 075dcf5aee
commit 098cff2145

View File

@ -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;