mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +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>
|
||||
*
|
||||
* $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__
|
||||
#define __CLOCK_H__
|
||||
@ -96,6 +96,8 @@ void clock_delay(unsigned int);
|
||||
int clock_fine_max(void);
|
||||
unsigned short clock_fine(void);
|
||||
|
||||
unsigned long clock_seconds(void);
|
||||
|
||||
|
||||
#endif /* __CLOCK_H__ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user