Added native-border-router and slip-radio

This commit is contained in:
Niclas Finne 2011-12-19 13:50:50 +01:00
parent 65edc32de2
commit 8b83ffec67
37 changed files with 3176 additions and 104 deletions

View file

@ -48,26 +48,27 @@ static unsigned int vib;
void
vib_sensor_changed(void)
{
vib++;
sensors_changed(&vib_sensor);
}
/*---------------------------------------------------------------------------*/
static unsigned int
static int
value(int type)
{
return vib;
}
/*---------------------------------------------------------------------------*/
static int
configure(int type, int c)
{
return 0;
}
/*---------------------------------------------------------------------------*/
static int
configure(int type, void *c)
status(int type)
{
return 0;
}
/*---------------------------------------------------------------------------*/
static void *
status(int type)
{
return NULL;
}
/*---------------------------------------------------------------------------*/
SENSORS_SENSOR(vib_sensor, VIB_SENSOR,
value, configure, status);