fix: Fix timer logic for blocks
This commit is contained in:
parent
c42a4215c8
commit
12d4decdd4
7 changed files with 36 additions and 29 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define TIMER_H
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "block.h"
|
||||
|
||||
|
|
@ -15,5 +16,6 @@ typedef struct {
|
|||
|
||||
timer timer_new(const block *const blocks, const unsigned short block_count);
|
||||
int timer_arm(timer *const timer);
|
||||
bool timer_must_run_block(const timer *const timer, const block *const block);
|
||||
|
||||
#endif // TIMER_H
|
||||
|
|
|
|||
Loading…
Reference in a new issue