aboutsummaryrefslogtreecommitdiff
path: root/tests/test_irq.c
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-24 14:03:19 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-24 14:03:19 -0700
commit351ff7059a5bacb322664412a8c62ee4640b33bf (patch)
tree53ef3fb16c5742c2edc45e633d80f6e16896f864 /tests/test_irq.c
parent6a1e0acc14b62c00317ac61c6ad6d8ffe441be4f (diff)
downloadstm32l4-351ff7059a5bacb322664412a8c62ee4640b33bf.tar.gz
stm32l4-351ff7059a5bacb322664412a8c62ee4640b33bf.tar.bz2
stm32l4-351ff7059a5bacb322664412a8c62ee4640b33bf.zip
Update .clang-format and run it on filse
Diffstat (limited to 'tests/test_irq.c')
-rw-r--r--tests/test_irq.c7
1 files changed, 3 insertions, 4 deletions
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);