mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format.
This commit is contained in:
parent
fc6d059d24
commit
e04e49999d
@ -53,7 +53,7 @@
|
|||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $Id: clock.h,v 1.4 2008/02/07 23:04:35 oliverschmidt Exp $
|
* $Id: clock.h,v 1.5 2008/07/07 23:38:46 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
#ifndef __CLOCK_H__
|
#ifndef __CLOCK_H__
|
||||||
#define __CLOCK_H__
|
#define __CLOCK_H__
|
||||||
@ -96,6 +96,8 @@ void clock_delay(unsigned int);
|
|||||||
int clock_fine_max(void);
|
int clock_fine_max(void);
|
||||||
unsigned short clock_fine(void);
|
unsigned short clock_fine(void);
|
||||||
|
|
||||||
|
unsigned long clock_seconds(void);
|
||||||
|
|
||||||
|
|
||||||
#endif /* __CLOCK_H__ */
|
#endif /* __CLOCK_H__ */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user