mirror of
https://github.com/google/pebble.git
synced 2025-11-17 13:00:59 -05:00
spelling: global
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -58,7 +58,7 @@ static void initialize_button_timer(void) {
|
|||||||
periph_config_enable(TIM4, RCC_APB1Periph_TIM4);
|
periph_config_enable(TIM4, RCC_APB1Periph_TIM4);
|
||||||
|
|
||||||
NVIC_InitTypeDef NVIC_InitStructure;
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
/* Enable the TIM4 gloabal Interrupt */
|
/* Enable the TIM4 global Interrupt */
|
||||||
TIM_ClearITPendingBit(TIM4, TIM_IT_Update);
|
TIM_ClearITPendingBit(TIM4, TIM_IT_Update);
|
||||||
NVIC_InitStructure.NVIC_IRQChannel = TIM4_IRQn;
|
NVIC_InitStructure.NVIC_IRQChannel = TIM4_IRQn;
|
||||||
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0b;
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0b;
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ void rtc_calibration_init_timer(void) {
|
|||||||
periph_config_enable(TIM7, RCC_APB1Periph_TIM7);
|
periph_config_enable(TIM7, RCC_APB1Periph_TIM7);
|
||||||
|
|
||||||
NVIC_InitTypeDef NVIC_InitStructure;
|
NVIC_InitTypeDef NVIC_InitStructure;
|
||||||
/* Enable the TIM7 gloabal Interrupt */
|
/* Enable the TIM7 global Interrupt */
|
||||||
TIM_ClearITPendingBit(TIM7, TIM_IT_Update);
|
TIM_ClearITPendingBit(TIM7, TIM_IT_Update);
|
||||||
NVIC_InitStructure.NVIC_IRQChannel = TIM7_IRQn;
|
NVIC_InitStructure.NVIC_IRQChannel = TIM7_IRQn;
|
||||||
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0b;
|
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0x0b;
|
||||||
|
|||||||
Reference in New Issue
Block a user