mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/sys/fido2_ctap: Replace ztimer with ztimer_sec
This commit is contained in:
parent
b0f2ba8c1a
commit
b618db2464
@ -5,6 +5,7 @@ include ../Makefile.sys_common
|
|||||||
|
|
||||||
USEMODULE += fido2_ctap_transport_hid
|
USEMODULE += fido2_ctap_transport_hid
|
||||||
USEMODULE += usbus
|
USEMODULE += usbus
|
||||||
|
USEMODULE += ztimer_sec
|
||||||
USEPKG += fido2_tests
|
USEPKG += fido2_tests
|
||||||
|
|
||||||
USB_VID ?= $(USB_VID_TESTING)
|
USB_VID ?= $(USB_VID_TESTING)
|
||||||
|
@ -4,5 +4,7 @@ CONFIG_MODULE_FIDO2=y
|
|||||||
CONFIG_MODULE_FIDO2_CTAP=y
|
CONFIG_MODULE_FIDO2_CTAP=y
|
||||||
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT=y
|
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT=y
|
||||||
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT_HID=y
|
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT_HID=y
|
||||||
|
CONFIG_MODULE_ZTIMER=y
|
||||||
|
CONFIG_MODULE_ZTIMER_SEC=y
|
||||||
|
|
||||||
CONFIG_PACKAGE_FIDO2_TESTS=y
|
CONFIG_PACKAGE_FIDO2_TESTS=y
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define ENABLE_DEBUG 0
|
#define ENABLE_DEBUG 0
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#include "xtimer.h"
|
#include "ztimer.h"
|
||||||
|
|
||||||
#include "fido2/ctap.h"
|
#include "fido2/ctap.h"
|
||||||
#include "fido2/ctap/transport/ctap_transport.h"
|
#include "fido2/ctap/transport/ctap_transport.h"
|
||||||
@ -31,6 +31,6 @@
|
|||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
/* sleep in order to see early DEBUG outputs */
|
/* sleep in order to see early DEBUG outputs */
|
||||||
xtimer_sleep(3);
|
ztimer_sleep(ZTIMER_SEC, 3);
|
||||||
fido2_ctap_transport_init();
|
fido2_ctap_transport_init();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user