1
0
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:
MrKevinWeiss 2023-05-30 16:42:01 +02:00
parent b0f2ba8c1a
commit b618db2464
No known key found for this signature in database
GPG Key ID: 4B69974722CBEEAE
3 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,7 @@ include ../Makefile.sys_common
USEMODULE += fido2_ctap_transport_hid
USEMODULE += usbus
USEMODULE += ztimer_sec
USEPKG += fido2_tests
USB_VID ?= $(USB_VID_TESTING)

View File

@ -4,5 +4,7 @@ CONFIG_MODULE_FIDO2=y
CONFIG_MODULE_FIDO2_CTAP=y
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT=y
CONFIG_MODULE_FIDO2_CTAP_TRANSPORT_HID=y
CONFIG_MODULE_ZTIMER=y
CONFIG_MODULE_ZTIMER_SEC=y
CONFIG_PACKAGE_FIDO2_TESTS=y

View File

@ -23,7 +23,7 @@
#define ENABLE_DEBUG 0
#include "debug.h"
#include "xtimer.h"
#include "ztimer.h"
#include "fido2/ctap.h"
#include "fido2/ctap/transport/ctap_transport.h"
@ -31,6 +31,6 @@
int main(void)
{
/* sleep in order to see early DEBUG outputs */
xtimer_sleep(3);
ztimer_sleep(ZTIMER_SEC, 3);
fido2_ctap_transport_init();
}