awtk/tests/get_time.inc

8 lines
140 B
PHP
Raw Normal View History

2018-05-31 11:01:46 +08:00
static uint32_t s_now = 0;
2018-06-03 10:19:34 +08:00
static uint32_t timer_get_time() {
return s_now;
}
static void timer_set_time(uint32_t now) {
s_now = now;
}