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

examples/telnet_server: fix build with shell_lock

This commit is contained in:
Benjamin Valentin 2022-06-03 22:21:23 +02:00 committed by Hendrik van Essen
parent d5d08e19fd
commit 80b7b79543

View File

@ -50,10 +50,13 @@ void telnet_cb_pre_connected(sock_tcp_t *sock)
printf("%s connected\n", addr_str);
}
/* shell lock module makes use of disconnect callback */
#ifndef MODULE_SHELL_LOCK
void telnet_cb_disconneced(void)
{
puts("disconnected");
}
#endif
void telnet_cb_connected(sock_tcp_t *sock)
{