mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-15 00:29:02 +00:00
Added ENEGEST_SECOND
This commit is contained in:
parent
5c169ac291
commit
d9b52d1585
@ -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 New Issue
Block a user