sys/shell: fix use of suit shell command

This commit is contained in:
Alexandre Abadie 2020-12-30 18:59:11 +01:00
parent 453d0478dc
commit b277a6bad5
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ ifneq (,$(filter nimble_statconn,$(USEMODULE)))
SRC += sc_nimble_statconn.c
endif
ifneq (,$(filter suit_coap,$(USEMODULE)))
ifneq (,$(filter suit_transport_coap,$(USEMODULE)))
SRC += sc_suit.c
endif

View File

@ -180,7 +180,7 @@ extern int _nimble_netif_handler(int argc, char **argv);
extern int _nimble_statconn_handler(int argc, char **argv);
#endif
#ifdef MODULE_SUIT_COAP
#ifdef MODULE_SUIT_TRANSPORT_COAP
extern int _suit_handler(int argc, char **argv);
#endif
@ -316,7 +316,7 @@ const shell_command_t _shell_command_list[] = {
#ifdef MODULE_NIMBLE_STATCONN
{ "statconn", "NimBLE netif statconn", _nimble_statconn_handler},
#endif
#ifdef MODULE_SUIT_COAP
#ifdef MODULE_SUIT_TRANSPORT_COAP
{ "suit", "Trigger a SUIT firmware update", _suit_handler },
#endif
#ifdef MODULE_CRYPTOAUTHLIB