From 32a0492bb922f796c03a1589a71db9d3bf7bd6e8 Mon Sep 17 00:00:00 2001 From: erlingrj Date: Thu, 17 Oct 2024 21:38:02 -0700 Subject: [PATCH] Format --- include/reactor-uc/tag.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/reactor-uc/tag.h b/include/reactor-uc/tag.h index 443ba5e1..985d373c 100644 --- a/include/reactor-uc/tag.h +++ b/include/reactor-uc/tag.h @@ -42,7 +42,8 @@ (tag_t) { .time = FOREVER, .microstep = FOREVER_MICROSTEP } // Need a separate initializer expression to comply with some C compilers #define FOREVER_TAG_INITIALIZER {FOREVER, FOREVER_MICROSTEP} -#define ZERO_TAG (tag_t){.time = 0LL, .microstep = 0u} +#define ZERO_TAG \ + (tag_t) { .time = 0LL, .microstep = 0u } // Returns true if timeout has elapsed. #define CHECK_TIMEOUT(start, duration) (lf_time_physical() > ((start) + (duration)))