1
0
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:
Kaspar Schleiser 2022-03-02 09:25:11 +01:00 committed by GitHub
commit ae0f617b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

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;

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;