Skip to content

Commit

Permalink
tmr: add TMR_INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Aug 12, 2024
1 parent ea2dfa4 commit f0b3681
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/re_tmr.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ struct tmr {
int line;
};

#define TMR_INIT {.le = LE_INIT}

int tmrl_alloc(struct tmrl **tmrl);
void tmr_poll(struct tmrl *tmrl);
uint64_t tmr_jiffies_usec(void);
Expand Down

0 comments on commit f0b3681

Please sign in to comment.