Skip to content

Commit 368bc89

Browse files
authored
Merge pull request #152 from tmobile/tmo-Fix-shell-build-without-SMS
Fixed build with SMS disabled
2 parents 054b159 + 76ded48 commit 368bc89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/tmo_shell/src/tmo_shell.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,9 +1432,9 @@ SHELL_STATIC_SUBCMD_SET_CREATE(
14321432
#endif /* CONFIG_MODEM */
14331433
SHELL_CMD(send, NULL, "<socket> <payload>", udp_send),
14341434
SHELL_CMD(sendb, NULL, "<socket> <size>", udp_sendb),
1435-
#if CONFIG_MODEM
1435+
#if CONFIG_MODEM && CONFIG_MODEM_SMS
14361436
SHELL_CMD(sendsms, NULL, "<socket> <phone number> <message>", sock_sendsms),
1437-
#endif /* CONFIG_MODEM */
1437+
#endif /* CONFIG_MODEM && CONFIG_MODEM_SMS */
14381438
SHELL_CMD(sendto, NULL, "<socket> <ip> <port> <payload>", sock_sendto),
14391439
SHELL_CMD(xfersz, NULL, "<size>", sock_mxfragment), SHELL_SUBCMD_SET_END);
14401440

0 commit comments

Comments
 (0)