Added *_close() function to all Rime modules

This commit is contained in:
adamdunkels 2007-03-19 22:10:16 +00:00
parent aa1389e873
commit e4a739a76c
22 changed files with 108 additions and 23 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: ccsabc.c,v 1.3 2007/03/19 19:24:37 adamdunkels Exp $
* $Id: ccsabc.c,v 1.4 2007/03/19 22:10:16 adamdunkels Exp $
*/
/**
@ -71,6 +71,12 @@ ccsabc_open(struct ccsabc_conn *c, u16_t channel,
sabc_open(&c->c, channel, &ccsabc);
}
/*---------------------------------------------------------------------------*/
void
ccsabc_close(struct ccsabc_conn *c)
{
sabc_close(&c->c);
}
/*---------------------------------------------------------------------------*/
int
ccsabc_send_stubborn(struct ccsabc_conn *c, clock_time_t t)
{