Changed variable declaration into type definition - as most likely originally intended.
This commit is contained in:
parent
b3ab4b4e8f
commit
6b1432f69d
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: energest.h,v 1.1 2007/03/19 00:30:18 adamdunkels Exp $
|
||||
* $Id: energest.h,v 1.2 2007/03/25 09:20:53 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -43,7 +43,7 @@
|
|||
|
||||
typedef unsigned long energest_t;
|
||||
|
||||
enum {
|
||||
enum energest_type {
|
||||
ENERGEST_TYPE_NONE,
|
||||
|
||||
ENERGEST_TYPE_CPU,
|
||||
|
@ -60,7 +60,7 @@ enum {
|
|||
ENERGEST_TYPE_SENSORS,
|
||||
|
||||
ENERGEST_TYPE_MAX
|
||||
} energest_type;
|
||||
};
|
||||
|
||||
void energest_init(void);
|
||||
energest_t energest_type_time(int type);
|
||||
|
|
Loading…
Reference in a new issue