mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Slight API change to support bump functionality
This commit is contained in:
parent
7b0606cd58
commit
14453e9fb7
@ -33,7 +33,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: polite-announcement.c,v 1.11 2010/02/23 18:32:44 adamdunkels Exp $
|
||||
* $Id: polite-announcement.c,v 1.12 2010/03/19 13:17:31 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -158,7 +158,7 @@ send_timer(void *ptr)
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
new_announcement(uint16_t id, uint16_t newval, uint16_t oldval)
|
||||
new_announcement(uint16_t id, uint16_t newval, uint16_t oldval, uint8_t bump)
|
||||
{
|
||||
if(newval != oldval) {
|
||||
c.interval = c.min_interval;
|
||||
|
@ -47,7 +47,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: polite-announcement.h,v 1.1 2009/02/05 19:32:01 adamdunkels Exp $
|
||||
* $Id: polite-announcement.h,v 1.2 2010/03/19 13:17:31 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -60,9 +60,6 @@
|
||||
#ifndef __POLITE_ANNOUNCEMENT_H__
|
||||
#define __POLITE_ANNOUNCEMENT_H__
|
||||
|
||||
#include "net/rime/announcement.h"
|
||||
#include "net/rime/ipolite.h"
|
||||
|
||||
void polite_announcement_init(uint16_t channel,
|
||||
clock_time_t min,
|
||||
clock_time_t max);
|
||||
|
Loading…
Reference in New Issue
Block a user