Skip to content

Commit 3b2df89

Browse files
committed
treewide: fix conditionals on deprecated module
As a leftovers from RIOT-OS#18355 are still present that check for `MODULE_SHELL_COMMANDS` rather than `MODULE_SHELL_CMDS`. This updates the conditionals as needed.
1 parent 3876f38 commit 3b2df89

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/dfplayer/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ menuconfig MODULE_DFPLAYER
1515
select MODULE_XTIMER
1616
select HAVE_MULTIMEDIA_DEVICE
1717
# Perhaps this could be moved to its own symbol to enable the dfplayer commands
18-
select MODULE_FMT if MODULE_SHELL_COMMANDS
18+
select MODULE_FMT if MODULE_SHELL_CMDS
1919

2020
config DFPLAYER_NO_STRERROR
2121
bool
2222
prompt "Avoid using strerror in shell command" if !(HAS_ARCH_AVR8 || HAS_ARCH_MSP430)
2323
depends on MODULE_DFPLAYER
24-
depends on MODULE_SHELL_COMMANDS
24+
depends on MODULE_SHELL_CMDS
2525
# no strerror() on AVR and MSP430
2626
default y if (HAS_ARCH_AVR8 || HAS_ARCH_MSP430)
2727
help

pkg/lwip/include/lwipopts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ extern "C" {
143143
#define LWIP_NETCONN 0
144144
#endif /* MODULE_LWIP_SOCK */
145145

146-
#ifdef MODULE_SHELL_COMMANDS
146+
#ifdef MODULE_SHELL_CMD_LWIP_NETIF
147147
#define LWIP_DEBUG 1
148148
#endif
149149

pkg/nimble/contrib/nimble_riot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void nimble_riot_init(void)
151151
#ifdef MODULE_NIMBLE_NETIF
152152
extern void nimble_netif_init(void);
153153
nimble_netif_init();
154-
#ifdef MODULE_SHELL_COMMANDS
154+
#ifdef MODULE_SHELL_CMD_NIMBLE_NETIF
155155
extern void sc_nimble_netif_init(void);
156156
sc_nimble_netif_init();
157157
#endif

0 commit comments

Comments
 (0)