aboutsummaryrefslogtreecommitdiff
path: root/tests/test_irq.c
diff options
context:
space:
mode:
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);