From 351ff7059a5bacb322664412a8c62ee4640b33bf Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 24 Nov 2020 14:03:19 -0700 Subject: Update .clang-format and run it on filse --- tests/test_irq.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/test_irq.c') diff --git a/tests/test_irq.c b/tests/test_irq.c index 3c4ee9c..6fe20e4 100644 --- a/tests/test_irq.c +++ b/tests/test_irq.c @@ -1,11 +1,10 @@ -#include "test_harness.h" - #include "arch/stm32l4xxx/peripherals/irq.h" #include "arch/stm32l4xxx/peripherals/nvic.h" +#include "test_harness.h" TEST(irq, nvic) { - interrupt_set_t is = { 0 }; + interrupt_set_t is = {0}; interrupt_set_add(&is, IRQ_USART2); interrupt_set_add(&is, IRQ_USART3); @@ -20,7 +19,7 @@ TEST(irq, nvic) TEST(irq, nvic_edgecase) { - interrupt_set_t is = { 0 }; + interrupt_set_t is = {0}; interrupt_set_add(&is, IRQ_WWDG_IRQ); interrupt_set_add(&is, IRQ_I2C1_ER); -- cgit