rtimer_arch_now() now returns the correct value

This commit is contained in:
adamdunkels 2007-04-07 05:45:08 +00:00
parent 336246f406
commit b2b750e83b
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: rtimer-arch.c,v 1.2 2007/04/03 19:04:27 adamdunkels Exp $ * $Id: rtimer-arch.c,v 1.3 2007/04/07 05:45:08 adamdunkels Exp $
*/ */
/** /**
@ -94,6 +94,6 @@ rtimer_arch_schedule(rtimer_clock_t t)
rtimer_clock_t rtimer_clock_t
rtimer_arch_now(void) rtimer_arch_now(void)
{ {
return TBCCR1; return TBR;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/