awtk/tests/get_time.inc
2018-06-27 13:46:42 +08:00

8 lines
143 B
C++

static uint32_t s_now = 0;
static uint32_t timer_get_time() {
return s_now;
}
static void timer_set_time(uint32_t now) {
s_now = now;
}