1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

treewide: fix conditionals on deprecated module

As a leftovers from https://github.com/RIOT-OS/RIOT/pull/18355 are still
present that check for `MODULE_SHELL_COMMANDS` rather than
`MODULE_SHELL_CMDS`. This updates the conditionals as needed.
This commit is contained in:
Marian Buschsieweke 2022-09-21 09:36:17 +02:00
parent 3876f38b93
commit 3b2df89b4c
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
3 changed files with 4 additions and 4 deletions

View File

@ -15,13 +15,13 @@ menuconfig MODULE_DFPLAYER
select MODULE_XTIMER
select HAVE_MULTIMEDIA_DEVICE
# Perhaps this could be moved to its own symbol to enable the dfplayer commands
select MODULE_FMT if MODULE_SHELL_COMMANDS
select MODULE_FMT if MODULE_SHELL_CMDS
config DFPLAYER_NO_STRERROR
bool
prompt "Avoid using strerror in shell command" if !(HAS_ARCH_AVR8 || HAS_ARCH_MSP430)
depends on MODULE_DFPLAYER
depends on MODULE_SHELL_COMMANDS
depends on MODULE_SHELL_CMDS
# no strerror() on AVR and MSP430
default y if (HAS_ARCH_AVR8 || HAS_ARCH_MSP430)
help

View File

@ -143,7 +143,7 @@ extern "C" {
#define LWIP_NETCONN 0
#endif /* MODULE_LWIP_SOCK */
#ifdef MODULE_SHELL_COMMANDS
#ifdef MODULE_SHELL_CMD_LWIP_NETIF
#define LWIP_DEBUG 1
#endif

View File

@ -151,7 +151,7 @@ void nimble_riot_init(void)
#ifdef MODULE_NIMBLE_NETIF
extern void nimble_netif_init(void);
nimble_netif_init();
#ifdef MODULE_SHELL_COMMANDS
#ifdef MODULE_SHELL_CMD_NIMBLE_NETIF
extern void sc_nimble_netif_init(void);
sc_nimble_netif_init();
#endif