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:
parent
d5d08e19fd
commit
80b7b79543
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user