use CLOCK_CONF_SECOND.
This commit is contained in:
parent
fed4a58102
commit
9d7bdad864
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: clock.c,v 1.3 2009/09/04 13:57:17 nvt-se Exp $
|
* $Id: clock.c,v 1.4 2009/09/04 13:59:37 nvt-se Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki-conf.h"
|
#include "contiki-conf.h"
|
||||||
|
@ -53,7 +53,7 @@ clock_time(void)
|
||||||
unsigned long
|
unsigned long
|
||||||
clock_seconds(void)
|
clock_seconds(void)
|
||||||
{
|
{
|
||||||
return simCurrentTime / CLOCK_CONF_SECONDS;
|
return simCurrentTime / CLOCK_CONF_SECOND;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue