1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/xtimer_drift: remove uneeded timex call

This commit is contained in:
Francisco Molina 2022-03-01 14:45:17 +01:00
parent 4326825931
commit 3b4fd9cb43

View File

@ -65,7 +65,6 @@ struct timer_msg msg_d = { .interval = (TEST_INTERVAL * 2) };
void *slacker_thread(void *arg)
{
(void) arg;
timex_t now;
LOG_DEBUG("run thread %" PRIkernel_pid "\n", thread_getpid());
@ -77,7 +76,6 @@ void *slacker_thread(void *arg)
msg_t m;
msg_receive(&m);
struct timer_msg *tmsg = m.content.ptr;
xtimer_now_timex(&now);
xtimer_usleep(TEST_MSG_RX_USLEEP);
tmsg->msg.type = 12345;