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

tests/bench_xtimer_load: remove uneeded timex call

This commit is contained in:
Francisco Molina 2022-03-01 14:43:50 +01:00
parent fcc962e047
commit 4326825931

View File

@ -73,7 +73,6 @@ static struct timer_msg msg_d = { .interval = (TEST_INTERVAL * 2) };
static void *slacker_thread(void *arg)
{
(void)arg;
timex_t now;
LOG_DEBUG("run thread %" PRIkernel_pid "\n", thread_getpid());
@ -85,7 +84,6 @@ static 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;