Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Oct 21, 2024
1 parent 23d529c commit 6fbfb23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/reactor-uc/tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
(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 6fbfb23

Please sign in to comment.