Moved all rime channel definitions to the shell-rime.h file
This commit is contained in:
parent
d0f8770263
commit
cab149cad0
6 changed files with 40 additions and 12 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: shell-rime-ping.c,v 1.3 2008/07/02 15:02:33 matsutsuka Exp $
|
||||
* $Id: shell-rime-ping.c,v 1.4 2008/08/15 18:58:42 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -158,7 +158,7 @@ CC_CONST_FUNCTION static struct mesh_callbacks mesh_callbacks = { recv_mesh,
|
|||
void
|
||||
shell_rime_ping_init(void)
|
||||
{
|
||||
mesh_open(&mesh, 19, &mesh_callbacks);
|
||||
mesh_open(&mesh, SHELL_RIME_CHANNEL_PING, &mesh_callbacks);
|
||||
|
||||
shell_register_command(&ping_command);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue