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:
parent
3876f38b93
commit
3b2df89b4c
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user