From 20c7b7da3701d20663f82952b94f7fb413ae6e36 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Mon, 4 Jul 2022 04:32:39 -0400 Subject: [PATCH] traceswo: Reformatted with clang-format --- src/platforms/stm32/traceswo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platforms/stm32/traceswo.c b/src/platforms/stm32/traceswo.c index 10126941..555f104d 100644 --- a/src/platforms/stm32/traceswo.c +++ b/src/platforms/stm32/traceswo.c @@ -139,7 +139,8 @@ void TRACE_ISR(void) if ((bt && (((duty / bt) > 2) || ((duty / bt) == 0))) || (duty == 0)) goto flush_and_reset; - if(!(sr & TIM_SR_CC1IF)) notstart = 1; + if (!(sr & TIM_SR_CC1IF)) + notstart = 1; if (!bt) { if (notstart) { @@ -148,8 +149,7 @@ void TRACE_ISR(void) } /* First bit, sync decoder */ duty -= ALLOWED_DUTY_ERROR; - if (((cycle / duty) != 2) && - ((cycle / duty) != 3)) + if (((cycle / duty) != 2) && ((cycle / duty) != 3)) return; bt = duty; lastbit = 1;