Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Oct 18, 2024
1 parent fe041d8 commit 32a0492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/reactor-uc/tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 32a0492

Please sign in to comment.