[TD-2402]<fix>: remove WINDOS macro related code in ttimer

This commit is contained in:
Minglei Jin 2021-02-03 14:57:20 +08:00
parent 002ec75ad1
commit 499e81b735
1 changed files with 0 additions and 4 deletions

View File

@ -188,11 +188,7 @@ static void removeTimer(uintptr_t id) {
}
static int64_t getMonotonicMs(void) {
#ifdef WINDOWS
return (int64_t) getMonotonicUs() / 1000;
#else
return taosGetTimestampMs();
#endif
}
static void addToWheel(tmr_obj_t* timer, uint32_t delay) {