We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19fed64 commit 3eec0d9Copy full SHA for 3eec0d9
Src/communication/wakaama_client/platform/platform.c
@@ -66,7 +66,7 @@ time_t lwm2m_gettime(void) {
66
// TODO: Now we use 32bit counter and it will overflow.
67
// Maybe export xNumOfOverflows from tasks.c and do something like that:
68
// return (xNumOfOverflows << 16) | (xTaskGetTickCount >> 16)
69
- return xTaskGetTickCount();
+ return xTaskGetTickCount() / configTICK_RATE_HZ;
70
}
71
72
#ifdef LWM2M_WITH_LOGS
0 commit comments