removed obsolete structure
This commit is contained in:
parent
4a3953204f
commit
1d592b5680
2 changed files with 3 additions and 7 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: sensors.c,v 1.3 2010/01/14 13:29:56 joxe Exp $
|
||||
* @(#)$Id: sensors.c,v 1.4 2010/01/14 13:55:21 nifi Exp $
|
||||
*/
|
||||
/* exeperimental code, will be renamed to sensors.c when done */
|
||||
|
||||
|
@ -41,7 +41,6 @@
|
|||
|
||||
extern struct sensors_sensor *sensors[];
|
||||
extern unsigned char sensors_flags[];
|
||||
extern struct process *sensors_selecting_proc[];
|
||||
|
||||
#define FLAG_CHANGED 0x80
|
||||
|
||||
|
@ -108,8 +107,6 @@ PROCESS_THREAD(sensors_process, ev, data)
|
|||
|
||||
PROCESS_BEGIN();
|
||||
|
||||
sensors_platform_init();
|
||||
|
||||
sensors_event = process_alloc_event();
|
||||
|
||||
for(i = 0; sensors[i] != NULL; ++i) {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: sensors.h,v 1.3 2010/01/14 13:29:56 joxe Exp $
|
||||
* @(#)$Id: sensors.h,v 1.4 2010/01/14 13:55:21 nifi Exp $
|
||||
*/
|
||||
|
||||
#ifndef __SENSORS_H__
|
||||
|
@ -51,8 +51,7 @@ const struct sensors_sensor name = { type, value, configure, status }
|
|||
|
||||
#define SENSORS(...) \
|
||||
const struct sensors_sensor *sensors[] = {__VA_ARGS__, NULL}; \
|
||||
unsigned char sensors_flags[SENSORS_NUM]; \
|
||||
struct process *sensors_selecting_proc[SENSORS_NUM]
|
||||
unsigned char sensors_flags[SENSORS_NUM];
|
||||
|
||||
struct sensors_sensor {
|
||||
char * type;
|
||||
|
|
Loading…
Reference in a new issue