Added ENEGEST_SECOND
This commit is contained in:
parent
5c169ac291
commit
d9b52d1585
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: energest.h,v 1.8 2008/01/14 16:18:39 thiemovoigt Exp $
|
* $Id: energest.h,v 1.9 2008/01/21 12:36:17 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -103,6 +103,8 @@ extern energest_t energest_leveldevice_current_leveltime[ENERGEST_CONF_LEVELDEVI
|
||||||
#define ENERGEST_OFF_LEVEL(type,level) do { } while(0)
|
#define ENERGEST_OFF_LEVEL(type,level) do { } while(0)
|
||||||
#endif /* ENERGEST_CONF_ON */
|
#endif /* ENERGEST_CONF_ON */
|
||||||
|
|
||||||
|
#define ENERGEST_SECOND RTIMER_ARCH_SECOND
|
||||||
|
|
||||||
unsigned long energest_arch_current_estimate(void);
|
unsigned long energest_arch_current_estimate(void);
|
||||||
unsigned short energest_arch_now(void);
|
unsigned short energest_arch_now(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue