mirror of https://github.com/google/pebble
spelling: global
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
8ac24bd4f5
commit
30c49030d1
|
@ -58,7 +58,7 @@ static void initialize_button_timer(void) {
|
|||
periph_config_enable(TIM4, RCC_APB1Periph_TIM4);
|
||||
|
||||
NVIC_InitTypeDef NVIC_InitStructure;
|
||||
/* Enable the TIM4 gloabal Interrupt */
|
||||
/* Enable the TIM4 global Interrupt */
|
||||
TIM_ClearITPendingBit(TIM4, TIM_IT_Update);
|
||||
NVIC_InitStructure.NVIC_IRQChannel = TIM4_IRQn;
|
||||
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0b;
|
||||
|
|
|
@ -93,7 +93,7 @@ void rtc_calibration_init_timer(void) {
|
|||
periph_config_enable(TIM7, RCC_APB1Periph_TIM7);
|
||||
|
||||
NVIC_InitTypeDef NVIC_InitStructure;
|
||||
/* Enable the TIM7 gloabal Interrupt */
|
||||
/* Enable the TIM7 global Interrupt */
|
||||
TIM_ClearITPendingBit(TIM7, TIM_IT_Update);
|
||||
NVIC_InitStructure.NVIC_IRQChannel = TIM7_IRQn;
|
||||
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0b;
|
||||
|
|
Loading…
Reference in New Issue