1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/pkg_umorse: Remove xtimer dependency

This commit is contained in:
MrKevinWeiss 2021-02-16 13:39:42 +01:00
parent 7c1cb66fe2
commit 3c80faf6a8
2 changed files with 5 additions and 5 deletions

View File

@ -1,9 +1,9 @@
include ../Makefile.tests_common
USEMODULE += xtimer
USEPKG += umorse
USEMODULE += ztimer
UMORSE_DELAY_DIT ?= 120
CFLAGS += -DUMORSE_DELAY_DIT=$(UMORSE_DELAY_DIT)

View File

@ -21,14 +21,14 @@
#include "board.h"
#include "led.h"
#include "ztimer.h"
#include "periph_conf.h"
#include "xtimer.h"
#define UMORSE_MSLEEP(m) xtimer_msleep(m)
#include "umorse.h"
#include "print.h"
#define CODE_LEN (64U)
#define UMORSE_MSLEEP(m) ztimer_sleep(ZTIMER_MSEC, m);
#define CODE_LEN (64U)
void blink_dit(void *args, uint8_t flags)
{