mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Merge pull request #17728 from fjmolinas/pr_remove_tests_timex_calls
tests/*xtimer*: remove uneeded timex calls
This commit is contained in:
commit
ae0f617b28
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user