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:
parent
7c1cb66fe2
commit
3c80faf6a8
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user