From c5ac57423692f5b301489713f28ee27398c4184e Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 30 Oct 2023 15:48:35 +0100 Subject: [PATCH] tests/net/gcoap_fileserver: gcoap_fileserver -> nanocoap_fileserver --- tests/net/gcoap_fileserver/Makefile | 2 +- tests/net/gcoap_fileserver/main.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/net/gcoap_fileserver/Makefile b/tests/net/gcoap_fileserver/Makefile index ad5900aa1b..f50ba5dfaf 100644 --- a/tests/net/gcoap_fileserver/Makefile +++ b/tests/net/gcoap_fileserver/Makefile @@ -10,7 +10,7 @@ USEMODULE += shell USEMODULE += shell_cmds_default USEMODULE += gcoap_fileserver -USEMODULE += gcoap_fileserver_put +USEMODULE += nanocoap_fileserver_put USEMODULE += nanocoap_vfs diff --git a/tests/net/gcoap_fileserver/main.c b/tests/net/gcoap_fileserver/main.c index 750b22738c..f6a8ebeba9 100644 --- a/tests/net/gcoap_fileserver/main.c +++ b/tests/net/gcoap_fileserver/main.c @@ -19,7 +19,7 @@ #include "fs/constfs.h" #include "net/gcoap.h" -#include "net/gcoap/fileserver.h" +#include "net/nanocoap/fileserver.h" #include "shell.h" #include "vfs_default.h" @@ -31,13 +31,13 @@ static const coap_resource_t _resources[] = { { .path = "/const", .methods = COAP_GET | COAP_MATCH_SUBTREE, - .handler = gcoap_fileserver_handler, + .handler = nanocoap_fileserver_handler, .context = "/const" }, { .path = "/vfs", .methods = COAP_GET | COAP_PUT | COAP_MATCH_SUBTREE, - .handler = gcoap_fileserver_handler, + .handler = nanocoap_fileserver_handler, .context = VFS_DEFAULT_DATA }, };