Moved all rime channel definitions to the shell-rime.h file

This commit is contained in:
adamdunkels 2008-08-15 18:58:42 +00:00
parent d0f8770263
commit cab149cad0
6 changed files with 40 additions and 12 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: shell-rime-netcmd.c,v 1.3 2008/07/07 23:22:38 adamdunkels Exp $
* $Id: shell-rime-netcmd.c,v 1.4 2008/08/15 18:58:42 adamdunkels Exp $
*/
/**
@ -160,7 +160,8 @@ const static struct trickle_callbacks trickle_callbacks = { recv_trickle };
void
shell_rime_netcmd_init(void)
{
trickle_open(&trickle, CLOCK_SECOND * 4, 28, &trickle_callbacks);
trickle_open(&trickle, CLOCK_SECOND * 4, SHELL_RIME_CHANNEL_NETCMD,
&trickle_callbacks);
shell_register_command(&netcmd_command);
}
/*---------------------------------------------------------------------------*/