fixed sensors_find API
This commit is contained in:
parent
00e8164e58
commit
079db2af55
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: sensors.h,v 1.6 2010/01/14 15:33:27 joxe Exp $
|
||||
* @(#)$Id: sensors.h,v 1.7 2010/01/14 20:04:38 nifi Exp $
|
||||
*/
|
||||
|
||||
#ifndef __SENSORS_H__
|
||||
|
@ -60,7 +60,7 @@ struct sensors_sensor {
|
|||
int (* status) (int type);
|
||||
};
|
||||
|
||||
struct sensors_sensor *sensors_find(char *type);
|
||||
struct sensors_sensor *sensors_find(const char *type);
|
||||
struct sensors_sensor *sensors_next(const struct sensors_sensor *s);
|
||||
struct sensors_sensor *sensors_first(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue