Added *_close() function to all Rime modules
This commit is contained in:
parent
aa1389e873
commit
e4a739a76c
22 changed files with 108 additions and 23 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: tree.c,v 1.3 2007/03/19 19:24:37 adamdunkels Exp $
|
||||
* $Id: tree.c,v 1.4 2007/03/19 22:10:17 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -193,6 +193,13 @@ tree_open(const struct tree_callbacks *cb)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
tree_close(void)
|
||||
{
|
||||
sibc_close(&sibc_conn);
|
||||
ruc_close(&ruc_conn);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
tree_set_sink(int should_be_sink)
|
||||
{
|
||||
if(should_be_sink) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue