From a6d3bd593324a8515b87c3041cc62ceb6a29dd95 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Thu, 1 Dec 2016 01:08:52 -0300 Subject: [PATCH] Fix var names --- IOSTM.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IOSTM.cpp b/IOSTM.cpp index e580897..9186102 100644 --- a/IOSTM.cpp +++ b/IOSTM.cpp @@ -316,9 +316,9 @@ void CIO::startInt() #if defined(EXTERNAL_OSC) // Configure GPIO PA15 as external TIM2 clock source GPIO_PinAFConfig(GPIOA, GPIO_PinSource15, GPIO_AF_TIM2); - GPIO_InitStructure.GPIO_Pin = GPIO_Pin_15; - GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF; - GPIO_Init(GPIOA, &GPIO_InitStructure); + GPIO_InitStruct.GPIO_Pin = GPIO_Pin_15; + GPIO_InitStruct.GPIO_Mode = GPIO_Mode_AF; + GPIO_Init(GPIOA, &GPIO_InitStruct); #endif RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE);