Added a clock_seconds() function prototype to core/sys/clock.h, that returns seconds in 32 bit format.

This commit is contained in:
adamdunkels 2008-07-07 23:38:46 +00:00
parent fc6d059d24
commit e04e49999d

View file

@ -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__ */