Timer: new implementation (merge finished, tests failing)

This commit is contained in:
o9000
2017-12-28 22:45:20 +01:00
parent 0911dcaed1
commit f64cf199e4
18 changed files with 112 additions and 118 deletions

View File

@@ -35,6 +35,10 @@ typedef struct {
bool handled_;
} Timer;
#define DEFAULT_TIMER {"", 0, 0, 0, 0, 0, 0}
#define INIT_TIMER(t) init_timer(&t, #t)
// Initialize the timer module.
void default_timers();