From 093c7b9540916d32ae449970e0792ebc8048eb7d Mon Sep 17 00:00:00 2001 From: Jarek Zgoda Date: Tue, 26 Jul 2016 16:50:49 +0200 Subject: [PATCH] Fix code formatting --- .../TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c b/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c index 5200b6ee90..7e9a884268 100644 --- a/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c +++ b/hal/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_BLUEPILL_F103C8/hal_tick.c @@ -138,16 +138,14 @@ HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { return HAL_OK; } -void HAL_SuspendTick(void) -{ +void HAL_SuspendTick(void) { TimMasterHandle.Instance = TIM_MST; // Disable HAL tick and us_ticker update interrupts (used for 32 bit counter) __HAL_TIM_DISABLE_IT(&TimMasterHandle, (TIM_IT_CC2 | TIM_IT_UPDATE)); } -void HAL_ResumeTick(void) -{ +void HAL_ResumeTick(void) { TimMasterHandle.Instance = TIM_MST; // Enable HAL tick and us_ticker update interrupts (used for 32 bit counter)